%PDF- %PDF-
Direktori : /home/eirtvhdf/hire-va.ie/virtual-assistant-offer/ |
Current File : /home/eirtvhdf/hire-va.ie/virtual-assistant-offer/step2.php |
<!DOCTYPE html> <?php session_start(); require("database.php"); $retval = $_GET['retval']; if( $retval == true ){ if(isset($_POST['activate'])){ $logo_name = htmlspecialchars($_POST['logo_name']); $logo_style = $_POST['logo_style']; $add_comments = htmlspecialchars($_POST['add_comments']); $slogan = htmlspecialchars($_POST['slogan']); $look_and_feel = $_POST['look_and_feel']; $material = htmlspecialchars($_POST['material']); $industry = htmlspecialchars($_POST['industry']); $target = htmlspecialchars($_POST['target']); $desc = htmlspecialchars($_POST['desc']); $logo_style = implode(', ',$logo_style); $look_and_feel = implode(', ',$look_and_feel); $last_id = $_SESSION['last_id']; $a_name = $_SESSION['a_name']; $a_email = $_SESSION['a_email']; $a_phone = $_SESSION['a_phone']; $a_message = $_SESSION['a_message']; $package = $_SESSION['a_package']; $amount = $_SESSION['a_amount']; $path = basename($_FILES['material']['name']); if(empty($path)){ $material = ""; } else{ $dir = "reference_material/"; $piclocation = $dir . basename($_FILES['material']['name']); $picextension = pathinfo($piclocation,PATHINFO_EXTENSION); $move = move_uploaded_file($_FILES['material']['tmp_name'],$piclocation); $material = "https://logodowntown.com/logo-offer/".$piclocation; } $body = " <table class='table table-bordered'> <tr> <th>Client Name:</th> <td>".$a_name."</td> </tr> <tr> <th>Email:</th> <td>".$a_email."</td> </tr> <tr> <th>Phone:</th> <td>".$a_phone."</td> </tr> <tr> <th>Message:</th> <td>".$a_message."</td> </tr> <tr> <th>Package:</th> <td>".$package."</td> </tr> <tr> <th>Amount:</th> <td>".$amount."</td> </tr> <br> <tr> <th> </th> <td> </td> </tr> <br> <tr> <th>logo Name:</th> <td>".$logo_name."</td> </tr> <tr> <th>Logo Style:</th> <td>".$logo_style."</td> </tr> <tr> <th>Additional Comments:</th> <td>".$add_comments."</td> </tr> <tr> <th>Slogan:</th> <td>".$slogan."</td> </tr> <tr> <th>Look And Feel:</th> <td>".$look_and_feel."</td> </tr> <tr> <th>Reference Material:</th> <td><a href=".$material.">".$material."</a></td> </tr> <tr> <th>Industry:</th> <td>".$industry."</td> </tr> <tr> <th>Target Audience:</th> <td>".$target."</td> </tr> <tr> <th>BRIEF DESCRIPTION ABOUT BUSINESS:</th> <td>".$desc."</td> </tr> </table> "; $mail_content = stripslashes($body); $to = "fahad.ansari@alogodaddy.com"; $subject = "Step2 Quote | Logo Downtown"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; //$headers .= "From: ". strip_tags($_POST['email']) . "\r\n"; $headers .= "Reply-To: ". strip_tags($_POST['email']) . "\r\n"; $url = "https://www.google.com/recaptcha/api/siteverify"; $data = [ 'secret' => "6LealFgbAAAAAEimYFRcsBi9jmor1X4v84vvqW2y", 'response' => $_POST['token99'], // 'remoteip' => $_SERVER['REMOTE_ADDR'] ]; $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $response = file_get_contents($url, false, $context); $res = json_decode($response, true); if($res['success'] == true) { $mysqli = mysqli_query($dbh,"insert into activation_coupon_quote values('$last_id','$logo_name','$logo_style','$add_comments','$slogan','$look_and_feel','$material','$industry','$target','$desc')"); $retval = mail ($to,$subject,$mail_content,$headers); if( $retval == true ) { echo '<script type="text/javascript"> window.location = "https://logodowntown.com/logo-offer/payment.php" </script>'; } else{ echo 'Mail not sent'; } } else{ echo '<script type="text/javascript"> window.location = "https://logodowntown.com/logo-offer/error.php" </script>'; } } ?> <html lang="en"> <!-- Mirrored from www.logoonox.com/affordable-logo-design/ by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 14 Jun 2021 15:43:09 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack --> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="ip2loc" content="103.217.178.36"> <title>Get Your Custom Logo Designed by World’s # 1 Design Company | Logo Downtown</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="ip2loc" content="103.217.178.36"> <link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/style-web.css"> <link rel="stylesheet" href="assets/css/responsive.css"> <link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap" rel="stylesheet"> <link rel="icon" href="https://www.logodowntown.com/assets/images/logo.png"/> <link href="order-assets/style2.css" rel="stylesheet"> <link href="order-assets/style-web.css" rel="stylesheet"> <link href="order-assets/order-css-new.css" rel="stylesheet"> <style> header .container-fluid { position: relative; background-color: #0e0c38; } header .top-head li { margin-right: 25px; position: relative; padding-left: 50px; z-index: 5; } header.theader{ position:relative; padding: 0px !important; } section.newsponsor { padding: 80px 0; } .mainsec1 header { height: 125px; } .mainsec1 .col-md-12 { padding: 0; } section.newsponsor h2 { padding-top: 12rem; } </style> </head> <body> <div class="mainsec1"> <header class="theader"> <div class="container-fluid"> <div class="container"> <div class="row"> <div class="col-md-2"> <a href="https://logodowntown.com/logo-offer/" class="logo"><img src="assets/images/Downtown-Logo-03.png" alt=""></a> </div> <div class="col-md-10"> <div class="top-head"> <ul class="list-inline"> <li> <i><img src="assets/images/phoneicon.png" alt=""></i> <a href="javascript:"><span>Contact Us</span>+1-123-456-7891</a> </li> <!--<li>--> <!-- <i><img src="https://www.logoonox.com/affordable-logo-design//assets/images/mailicon.png" alt=""></i>--> <!-- <a href="tel:+1-323-746-1219"><span>email</span>support@LogoKnox.com</a>--> <!--</li>--> <li> <i><img src="assets/images/chaticon.png" alt=""></i> <a class="get-quote chat" href="javascript:"><span>click here to</span> Live Chat</a> </li> </ul> </div> </div> </div> </div> </div> </header> <section class="packages"> <div class="container"> <div class="step2-title"> <h1 ><i>Step 2 </i></h1> </div> <!-- <div class="step-fln"><img src="images/stepfl-n.png" ></div> --> </div> </section> <section class="order-new-style"> <div class=" step2 step2 step2-new container"> <form method="post" enctype="multipart/form-data" class="form2-validate" id="form2-validate"> <div class=" step-top-area"> <div class="step-form-area logostepform " id="pf_top"> <h1><span>PROVIDE MORE INFORMATION ABOUT YOUR CUSTOM LOGO DESIGN, WHICH WILL HELP OUR EXPERT DESIGNERS TO PROVIDE YOUR INITIAL CONCEPTS WITHIN 24 hrs.</span></h1> <h3 class="step-section-title-n border-none"><span>DESIGN SPECIFICATIONS</span></h3> <div class="col-md-6"> <ul> <li> <label>Exact name to appear on logo <span>*</span></label> <input type="text" required class="required" value="" name="logo_name" id="logo_name_exact" > </li> <li> <label>Preferred style of logo <span>*</span></label> <div class="preferred-message"></div> <ul class="checkbox-label preferred-box "> <li><label><input type="checkbox" name="logo_style[]" value="Modern"> <i></i>Modern</label></li> <li><label><input type="checkbox" name="logo_style[]" value="Hi-Tec"> <i></i>Hi-Tec</label></li> <li><label><input type="checkbox" name="logo_style[]" value="Contemporary"> <i></i>Contemporary</label></li> <li><label><input type="checkbox" name="logo_style[]" value="Funny"> <i></i>Funny</label></li> <li><label><input type="checkbox" name="logo_style[]" value="Antique"> <i></i>Antique</label></li> <li><label><input type="checkbox" name="logo_style[]" value="Corporate"> <i></i>Corporate</label></li> <li><label><input type="checkbox" name="logo_style[]" value="Other"> <i></i>Other</label></li> </ul> </li> <li> <label>Additional comments</label> <textarea name="add_comments" id="logo_additional_comments"></textarea> </li> </ul> </div> <div class="col-md-6 padtop"> <ul> <li> <label>Slogan (if any)</label> <input type="text" name="slogan" value="" id="slogan_logo" > </li> <li> <label>Look and feel <span>*</span></label> <div class="look-message"></div> <ul class="checkbox-label look_box "> <li><label><input type="checkbox" name="look_and_feel[]" value="Sophisticated"> <i></i>Sophisticated</label></li> <li><label><input type="checkbox" name="look_and_feel[]" value="Minimal"> <i></i>Minimal</label></li> <li><label><input type="checkbox" name="look_and_feel[]" value="Fun"> <i></i>Fun</label></li> <li><label><input type="checkbox" name="look_and_feel[]" value="Corporate"> <i></i>Corporate</label></li> <li><label><input type="checkbox" name="look_and_feel[]" value="Artistic"> <i></i>Artistic</label></li> <li><label><input type="checkbox" name="look_and_feel[]" value="Web 2.0"> <i></i>Web 2.0</label></li> <li><label><input type="checkbox" name="look_and_feel[]" value="Feminine"> <i></i>Feminine</label></li> <li><label><input type="checkbox" name="look_and_feel[]" value="Masculine"> <i></i>Masculine</label></li> <li><label><input type="checkbox" name="look_and_feel[]" value="Traditional"> <i></i>Traditional</label></li> </ul> </li> <li> <label>Upload reference material</label> <input type="file" name="material" id="upload_reference_logo" > </li> </ul> </div> <div class="clear"></div> <h3 class="step-section-title-n padminus"><span>BUSINESS DETAILS</span></h3> <div class="col-md-4"> <ul> <li><label>Industry <span>*</span></label> <input type="text" name="industry" id="industry_logo" required value=""> </li> </ul> </div> <div class="col-md-4 padtop padminus"> <ul> <li> <label>Your target audience</label> <input type="text" name="target" id="your_target_audience" value="" > </li> </ul> </div> <div class="col-md-4"> <ul> <li> <label>A brief description about your business</label> <textarea type="text" name="desc" id="logo_business_desc" ></textarea> </li> </ul> </div> <div class="col-md-12"> <ul> <li> <input type="submit" name="activate" value="Proceed" class="btn-step2"> <input type="hidden" id="token99" name="token99" > <!-- <input type="hidden" id="price" name="price" value="99"> <input type="hidden" id="save" name="save" value="99"> <input type="hidden" name="id" value="344045"> <input type="hidden" name="vid" value=""> <input type="hidden" name="name" value=""> <input type="hidden" name="ip2loc_country" value=""> <input type="hidden" id="email" name="email" value=""> --> </li> </ul> </div> </div> </div> </form> </div> </section> <section class="cform-section"> <div class="container"> <div class="row"> <div class="col-md-5"> <i><img src="assets/images/cf-img.png" class="v1" alt=""></i> </div> <div class="col-md-7"> <h2>Get Free Consultancy</h2> <p>If you are interested in speaking with Logo Downtown about an upcoming project, there are a number of ways we can make that happen. Filling out the form would help us get the right person in touch with you, or you could give us a call.</p> <form action="sender.php" method="post" class="cform-section-form"> <ul> <li><input type="text" class="required" required placeholder="Name" name="fn"></li> <li><input type="email" class="required email" required placeholder="Email Address" name="em"></li> <li><input type="text" class="required number" required placeholder="Phone No." name="ph"></li> <li class="full-li"><textarea name="msg" class="required" required placeholder="To help us understand better, enter a brief description about your project."></textarea></li> <input type="hidden" id="token5" name="token5" > <li><input type="submit" name="consultancy" value="Submit"> <input type="hidden" name="send" value="1" /> <input type="hidden" name="lead_area" value="19" class="leadprice" /> <input type="hidden" name="lead_action" value="Footer Form" class="lead_action" /> <!-- Email Source --> <input type="hidden" name="lb_source" value="Organic" /> <input type="hidden" name="lb_source_cat" value="" /> <input type="hidden" name="lb_source_nam" value="" /> <input type="hidden" name="lb_source_ema" value="" /> <input type="hidden" name="lb_source_con" value="" /> <input type="hidden" name="lb_source_pho" value="" /> <input type="hidden" name="lb_source_off" value="" /> <!-- Customer Info --> <input type="hidden" name="fullpageurl" value="index.html" /> <input type="hidden" name="pageurl" value="http://www.logoonox.com/" /> <!-- ip2Location --> <input type="hidden" name="ip2loc_ip" value="" /> <input type="hidden" name="ip2loc_isp" value="" /> <input type="hidden" name="ip2loc_org" value="" /> <input type="hidden" name="ip2loc_country" value="" /> <input type="hidden" name="ip2loc_region" value="" /> <input type="hidden" name="ip2loc_city" value="" /> <input type="hidden" name="token" value="40cyggf7ap44sw4gko0gws8scwo4k88"/> </li> </ul> </form> </div> </div> </div> </section> <footer> <div class="container"> <div class="row"> <div class="col-md-6"> <p class="disclaimer">© 2020 Logo Downtown | All rights reserved. </p> </div> <!-- <div class="col-md-6"> <a href="https://www.logoonox.com/privacy-policy/">Privacy Policy</a> <a href="https://www.logoonox.com/terms-and-conditions">Terms & Conditions</a> </div> --> </div> </div> </footer> <div style="display: none;" class="popupform" id="popupform"> <div class="modal-body"> <div class="popup-bann"><img src="assets/images/popup-banner.png" alt=""></div> <div class="popup-content"> <h2>Activate 50% Off Coupon Now</h2> <p>Providing you the perfect solution for your business needs. Let's work together and unlock doors to success.</p> <form action="https://www.logoonox.com/order-logo/mail.php" method="post" class="popupform_sc"> <div class="row"> <div class="col-md-6"> <input type="text" class="required" required name="cn" placeholder="Your Name"> <input type="email" class="required email" required name="em" placeholder="Your Email"> <input type="tel" class="required number ftpn" required name="pn" minlength="7" maxlength="14" placeholder="Your Phone"> </div> <div class="col-md-6"> <textarea autocomplete="nope" name="msg" class="required" required placeholder="To help us understand better, enter a brief description about your project."></textarea> </div> <div class="col-md-12 text-center"> <p class="form_tagline"> <input type="checkbox" name="agree"> To receive our weekly Newsletter/SMS and offers check here. You can unsubscribe at any time.</p> <input type="submit" value="Submit"> <input type="hidden" name="send" value="1" /> <input type="hidden" name="lead_area" value="19" class="leadprice" /> <input type="hidden" name="lead_action" value="Get a Free Quote - Banner" class="lead_action" /> <!-- Email Source --> <input type="hidden" name="lb_source" value="Organic" /> <input type="hidden" name="lb_source_cat" value="" /> <input type="hidden" name="lb_source_nam" value="" /> <input type="hidden" name="lb_source_ema" value="" /> <input type="hidden" name="lb_source_con" value="" /> <input type="hidden" name="lb_source_pho" value="" /> <input type="hidden" name="lb_source_off" value="" /> <!-- Customer Info --> <input type="hidden" name="fullpageurl" value="index.html" /> <input type="hidden" name="pageurl" value="http://www.logoonox.com/" /> <!-- ip2Location --> <input type="hidden" name="ip2loc_ip" value="" /> <input type="hidden" name="ip2loc_isp" value="" /> <input type="hidden" name="ip2loc_org" value="" /> <input type="hidden" name="ip2loc_country" value="" /> <input type="hidden" name="ip2loc_region" value="" /> <input type="hidden" name="ip2loc_city" value="" /> <input type="hidden" name="token" value="40cyggf7ap44sw4gko0gws8scwo4k88"/> </div> </div> </form> </div> </div> </div> <script type="text/javascript" src="order-assets/js/lib.js"></script> <script type="text/javascript" src="order-assets/js/functions.js"></script> <script type="text/javascript" src="assets/js/lib.js"></script> <script type="text/javascript" src="assets/js/TimeCircles.js"></script> <script type="text/javascript" src="assets/js/functions.js"></script> <script src="https://www.google.com/recaptcha/api.js?render=6LealFgbAAAAADzuCKYhujlEawaxSxdVrvIq-kVF"></script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LealFgbAAAAADzuCKYhujlEawaxSxdVrvIq-kVF', {action: 'homepage'}).then(function(token99) { // console.log(token); document.getElementById("token99").value = token99; }); }); </script> <script> grecaptcha.ready(function() { grecaptcha.execute('6LealFgbAAAAADzuCKYhujlEawaxSxdVrvIq-kVF', {action: 'homepage'}).then(function(token5) { // console.log(token); document.getElementById("token5").value = token5; }); }); </script> <script> $(document).ready(function() { $('.preferred-box input[type=checkbox]').click(function() { if(this.checked == true) { $(this).parent().parent().addClass('selected'); $(".preferred-message.preferred-style").fadeOut(300); } else { $(this).parent().parent().removeClass('selected'); $(".preferred-message.preferred-style").show(); } }); $('.look_box input[type=checkbox]').click(function() { if(this.checked == true) { $(this).parent().parent().addClass('selected'); $(".look-message.look-style").fadeOut(300); } else { $(this).parent().parent().removeClass('selected'); $(".look-message.look-style").show(); } }); $(".form2-validate").validate({ }); $(".form2-validate").submit(function(e) { var ck = $("form .preferred-box input:checked").length; var b = $("input:submit"); var checkboxes = $(".preferred-box input[type='checkbox']"), submitButt = $("input[type='submit']"); if (ck === 0) { console.log('invalid'); $('.preferred-message').text("Please select at least one preferred style of logo").addClass("preferred-style").css({"color": "red"}); } else { $('.preferred-error').removeClass().text(""); document.getElementById("form_stp2").submit(); } e.preventDefault(); var ck3 = $("form .look_box input:checked").length; var b3 = $("input:submit"); var checkboxes3 = $(" .look_box input[type='checkbox']"), submitButt3 = $("input[type='submit']"); if (ck3 === 0) { console.log('invalid'); $('.look-message').text("Please select at least one look & feel option").addClass("look-style").css({"color": "red"}); } else { $('.look-error').removeClass().text(""); document.getElementById("form_stp2").submit(); } e.preventDefault(); }); $('a.rd-lnk').click(function(){ $('.pckg-body').slideToggle(); $('.captionpckgs .pckg-btn').slideToggle(); }); $('.mobile-pckgbtn').click(function(){ $('.pckgs-main').slideToggle(); }); $('.pckg').click(function(){ $('.pckg').removeClass('active'); $(this).addClass('active'); }); $('a.gt-start').click(function(){ var amount = jQuery(this).data("amount"); $('input[name=amount]').val(amount); $('#price').val(amount); $('html, body').animate({ scrollTop: $('.step2').offset().top }, 'slow'); }); }); $('.pckg').click(function(){ var amount = jQuery(this).data("amount"); $('input[name=amount]').val(amount); $('#price').val(amount); }); $("#top").fadeIn('slow',function(){ $(this).animate({'top': '-=30px'},'slow'); }); </script> </body> <!-- Mirrored from www.logoonox.com/affordable-logo-design/ by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 14 Jun 2021 15:43:40 GMT --> </html> <?php } else{ header('Location: https://logodowntown.com/logo-offer/'); } ?>