D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
vitalityhealth
/
www
/
aa
/
invite
/
wedding-templates
/
temp4
/
Filename :
preview.php
back
Copy
<?php include '../../cn.php'; $user_id = $_POST["id"]; $name = $_POST["name"]; $email = $_POST["email"]; $contact_no = $_POST["contact"]; $sqlt = "INSERT INTO `mails4`(`user_id`, `name`, `email`, `contact_no`) VALUES ('".$user_id."','".$name."','".$email."','".$contact_no."') "; $resultt = $con->query($sqlt); $rand=$_GET["rand"]; $sql = "SELECT * FROM weddinginv4 WHERE id = $user_id"; $result = $con->query($sql); $row = $result->fetch_assoc(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>Image Preview</title> <link rel="shortcut icon" href="../../images/favicon.ico"><!-- Favicon Icon --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <link rel="stylesheet" href="css1/style.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,600&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap" rel="stylesheet"> <style> a { color: white !important; } .articles{ display:flex; justify-content: center; margin: 0px; padding: 0px; } .watermark { position: absolute; color: blue(255, 255, 255, 0.5); max-width: 100% !important; top: 0px; left: 0px } body{ font-family: 'Montserrat', sans-serif; } </style> <style> @font-face { font-family: 'Funky Signature'; src: url('font/FunkySignature.woff2') format('woff2'), url('font/FunkySignature.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Signatie'; src: url('font/Signatie.woff2') format('woff2'), url('font/Signatie.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } </style> <style> @font-face { font-family: 'Lovelace Text'; src: url('font/LovelaceText-BoldItalic.woff2') format('woff2'), url('font/LovelaceText-BoldItalic.woff') format('woff'); font-weight: bold; font-style: italic; font-display: swap; } @font-face { font-family: 'Lovelace Text'; src: url('font/LovelaceText-Regular.woff2') format('woff2'), url('font/LovelaceText-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Bickley Script'; src: url('font/BickleyScript.woff2') format('woff2'), url('font/BickleyScript.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Carot Display'; src: url('font/CarotDisplay-Bold.woff2') format('woff2'), url('font/CarotDisplay-Bold.woff') format('woff'); font-weight: bold; font-style: normal; font-display: swap; } @font-face { font-family: 'Carot Display Med'; src: url('font/CarotDisplay-Medium.woff2') format('woff2'), url('font/CarotDisplay-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: 'Carot Display'; src: url('font/CarotDisplay-Regular.woff2') format('woff2'), url('font/CarotDisplay-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } body { padding: 0; margin: 0; } .normal-header { height: 80px; display: flex; align-items:center; justify-content: center; background-color: #180f5e; margin-bottom: 60px; } .normal-footer { padding: 100px 0; background-color: #180f5e; text-align:center; margin-top: 60px; } .normal-footer p { color: #fff; font-size: 14px; margin: 0 auto; max-width: 1060px; margin-bottom: 15px; } .normal-footer-logo { margin-bottom: 30px; display: block; } .normal-footer ul { display: flex; align-items:center; justify-content: center; margin-top: 20px; } .normal-footer ul li { margin: 0 6px; } .normal-footer ul li a { display: flex; align-items:center; justify-content: center; width: 40px; height: 40px; font-size: 14px; padding: 5px; line-height: 30px; color: #fff; background-color: rgba(255,255,255,0.06); } .normal-footer ul li a svg { height: 15px !Important; } </style> <style> @font-face { font-family: 'Lovelace Text'; src: url('font/LovelaceText-BoldItalic.woff2') format('woff2'), url('font/LovelaceText-BoldItalic.woff') format('woff'); font-weight: bold; font-style: italic; font-display: swap; } @font-face { font-family: 'Lovelace Text'; src: url('font/LovelaceText-Regular.woff2') format('woff2'), url('font/LovelaceText-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Bickley Script'; src: url('font/BickleyScript.woff2') format('woff2'), url('font/BickleyScript.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } </style> <style> @font-face { font-family: 'Josefin Sans'; src: url('font/JosefinSans-Regular.woff2') format('woff2'), url('font/JosefinSans-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } </style> </head> <body > <div class="normal-header"> <a herf="#"> <img src='../../images/Untitled-2(1).png' alt="image" style="width: 315px; margin: 0 auto; display:table;"> </a> </div> <center style=" margin: 0 auto; width: 100%; max-width: 680px;"> <div class="d-grid gap-2 d-md-flex justify-content-md-start"> <button class="mb-1 mt-1 me-1 btn btn-success" onclick="captureScreenshot()">Download</button> </div> </center> <br><Br> <center style=" margin: 0 auto; width: 100%; max-width: 680px;"> <div style="position: relative; overflow: hidden;"> <center> <div id="capture"> <section id="html-content-holder"> <table width="680" border="0" align="center" cellpadding="0" cellspacing="0" style="background: url(img/bg.jpg) center center; background-size: cover;"> <tbody style="width: 100%;"> <tr> <td style="text-align: center; font-family: 'Josefin Sans'; padding: 188px 0 0; line-height: 1.5em; font-size: 16px; color: #d7b676;">TOGETHER <span style="display: block;">WITH THEIR FAMILIES</span></td> </tr> <tr> <td style="text-align: center; font-family: 'Josefin Sans'; padding: 34px 0 0;"> <div style="position: relative; z-index: 1; width: 255px; margin: 0 auto; text-transform: uppercase; color: #d7b676; line-height: 87px; font-size: 72px;"><?php echo $row['firstname']; ?> <span style="display: block;"><?php echo $row['secondname']; ?></span> <span style="font-family: 'Josefin Sans'; position: absolute; left: 47px; font-size: 202px; top: 0; color: #ffffff30; line-height: 202px; z-index: -1;">&</span> </div> </td> </tr> <tr> <td style="text-align: center; font-family: 'Josefin Sans'; padding: 19px 0 0; line-height: 1.5em; font-size: 15px; color: #d7b676;">INVITE YOU TO CELEBRATE <span style="display: block;">THEIR MARRIAGE</span></td> </tr> <tr> <td style="text-align: center; padding: 20px 0 0;"> <div style="border-top: 1px solid #d7b6766b; border-bottom: 1px solid #d7b6766b; display: table; margin: 0 auto; padding: 15px 10px;"> <h2 style="margin: 0; font-family: 'Josefin Sans'; font-size: 26px; letter-spacing: 1px; padding: 6px 0; font-weight: 400; color: #fff;"><?php echo $row['eventdate']; ?> . <?php echo $row['eventmonth']; ?> . <?php echo $row['eventyear']; ?></h2> <p style="margin: 0; font-size: 15px; color: #d7b676; font-family: 'Josefin Sans'; letter-spacing: -1px;"><?php echo $row['eventtime']; ?></p> </div> </td> </tr> <tr> <td style="text-align: center; font-family: 'Josefin Sans'; padding: 25px 0 0; line-height: 1.5em; font-size: 15px; color: #d7b676;"><?php echo $row['address']; ?></td> </tr> <tr> <td style="text-align: center; font-family: 'Josefin Sans'; text-transform: uppercase; padding: 25px 0 200px; font-size: 14px; color: #fff;">reception to follow</td> </tr> </tbody> </table> </div> </section> </div> </center> </center> <!--<section class="articles" id="html-content-holder">--> <!-- <table>--> <!-- <tr>--> <!-- <td style="border:1px solid #000;"><center><img src="category/<?php echo $row['image']; ?>" alt="" /></center></td>--> <!-- </tr>--> <!-- <tr>--> <!-- <td style="border:1px solid #000;background:#000;"><center><h2 style="color:#fff;"><?php echo $row['title']; ?></h2></center></td>--> <!-- </tr>--> <!-- </table>--> <!--</section>--> <div class="normal-footer"> <div class="container"> <a herf="#" class="normal-footer-logo"> <img src='../../images/Untitled-2(1).png' alt="image" style="width: 315px; margin: 0 auto; display:table;"> </a> <p>METHER INFOTECH PTY LTD acknowledges the Traditional Owners of the lands across Australia as the continuing custodians of Country and Culture. We pay our respect to First Nations peoples and their Elders, past and present.</p> <p>Copyright © 2024 METHER INFOTECH PTY LTD All Rights Reserved | Powered By Golden Sparrow Technologies | Version 2.42</p> <div class="text-center"> <ul class="list-unstyled mb-0 footer-social"> <li><a href="https://fb.com/au.mether.info"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512" style="fill: #fff;"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"/></svg></i></a></li> <li> <a href="#"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512" style="fill: #fff;"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path></svg></a></li> <li><a href="#"><svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512" style="fill: #fff;"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg></a></li> </ul> </div> </div> </div> <script src="https://html2canvas.hertzen.com/dist/html2canvas.min.js" ></script> <script> function captureScreenshot() { // Use html2canvas to capture the screenshot html2canvas(document.querySelector("#capture")).then(function (canvas) { // Convert the canvas to a data URL var screenshotData = canvas.toDataURL("image/png"); // Create a temporary link element var link = document.createElement("a"); link.href = screenshotData; link.download = "screenshot.png"; // Specify the filename for the downloaded image // Simulate a click event to trigger the download link.click(); document.location.href = '../../thank-you.php'; }); } </script> <script src="https://www.google.com/recaptcha/enterprise.js?render=6Lcl6x8pAAAAANHgm2iRMeAa_DWE9GSjfZqEbDzl"></script> <script> function onClick(e) { e.preventDefault(); grecaptcha.enterprise.ready(async () => { const token = await grecaptcha.enterprise.execute('6Lcl6x8pAAAAANHgm2iRMeAa_DWE9GSjfZqEbDzl', {action: 'LOGIN'}); }); } </script> </body> </html>