Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 16.23 KB | None | 0 0
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Desert Farms Camel Milk</title>
  7. <link rel="stylesheet" href="salesletter-style.css">
  8. <link rel="shortcut icon" type="image/x-icon" href="../images/favicon.ico" />
  9. <!-- ClickBank Trust Badge -->
  10. <script src='//cbtb.clickbank.net/?vendor=camelmilk1'></script>
  11. <!-- Google Tag Manager -->
  12. <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  13. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  14. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  15. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  16. })(window,document,'script','dataLayer','GTM-T5JDBBZ');</script>
  17. <!-- End Google Tag Manager -->
  18. <!-- <style>
  19. /* The Modal (background) */
  20. .modal6pack  {
  21.     display: none; /* Hidden by default */
  22.     position: fixed; /* Stay in place */
  23.     z-index: 1; /* Sit on top */
  24.     padding-top: 100px; /* Location of the box */
  25.     left: 0;
  26.     top: 0;
  27.     width: 100%; /* Full width */
  28.     height: 100%; /* Full height */
  29.     overflow: auto; /* Enable scroll if needed */
  30.     background-color: rgb(0,0,0); /* Fallback color */
  31.     background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  32. }
  33. .modal12pack  {
  34.     display: none; /* Hidden by default */
  35.     position: fixed; /* Stay in place */
  36.     z-index: 1; /* Sit on top */
  37.     padding-top: 100px; /* Location of the box */
  38.     left: 0;
  39.     top: 0;
  40.     width: 100%; /* Full width */
  41.     height: 100%; /* Full height */
  42.     overflow: auto; /* Enable scroll if needed */
  43.     background-color: rgb(0,0,0); /* Fallback color */
  44.     background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  45. }
  46. /* Modal Content */
  47. .modal-content {
  48.     background-color: #fefefe;
  49.     margin: auto;
  50.     padding: 20px;
  51.     border: 1px solid #888;
  52.     width: 80%;
  53. }
  54.  
  55. /* The Close Button */
  56. .close-12pack {
  57.     color: #aaaaaa;
  58.     float: right;
  59.     font-size: 28px;
  60.     font-weight: bold;
  61. }
  62.  
  63. .close-12pack:hover,
  64. .close-12pack:focus {
  65.     color: #000;
  66.     text-decoration: none;
  67.     cursor: pointer;
  68. }
  69. /* The Close Button */
  70. .close-6pack {
  71.     color: #aaaaaa;
  72.     float: right;
  73.     font-size: 28px;
  74.     font-weight: bold;
  75. }
  76.  
  77. .close-6pack:hover,
  78. .close-6pack:focus {
  79.     color: #000;
  80.     text-decoration: none;
  81.     cursor: pointer;
  82. }
  83. </style> -->
  84. </head>
  85. <style>
  86. .tooltip {
  87.     position: relative;
  88.     display: inline-block;
  89. }
  90.  
  91. .tooltip .tooltiptext {
  92.     visibility: hidden;
  93.     width: 220px;
  94.     background-color: transparent;
  95.     color: #fff;
  96.     text-align: center;
  97.     border-radius: 6px;
  98.     padding: 5px 0;
  99.    
  100.     /* Position the tooltip */
  101.     position: absolute;
  102.     z-index: 1;
  103.     top: -90%;
  104.     left: 105%;
  105. }
  106.  
  107. .tooltip:hover .tooltiptext {
  108.     visibility: visible;
  109. }
  110. span.why {
  111.     border-bottom: 1px dotted black;
  112.     color: #585757;
  113.     font-size: 0.63em;
  114. }
  115. .buy-button:hover {
  116.     animation: pulse 1.0s infinite alternate;
  117.     border: 2px solid #ffd764;
  118.     font-size: 19px;
  119.     border-radius: 8px;
  120.     outline: 0;
  121. }
  122. </style>
  123. <body style="background-image:none;">
  124. <!-- Google Tag Manager (noscript) -->
  125. <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T5JDBBZ"
  126. height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  127. <!-- End Google Tag Manager (noscript) -->
  128.     <div class="content">
  129.         <div class="padded-content" style="margin-top:25px;">
  130.             <h1 class="fifty-six lato-black red" style="margin-top:0px; padding-top:27px; margin-bottom:0;"><span class="highlight">URGENT AND IMPORTANT:</span></h1>
  131.             <h2 class="forty-six red" style="margin-top:10px; margin-bottom:0px;" >PLEASE READ CAREFULLY</h2>
  132.             <h2 class="lato-heavy thirty italic" style="margin-top:10px; margin-bottom:0;">(This may affect your camel milk shipment)</h2>
  133.             <h2 class="lato-heavy forty-four" style="margin-top:10px;">Free Camel Milk Is Cool, But Check This Out…</h2>
  134.             <p>Thank you for requesting a RISK-FREE sample of four 8oz bottles of Desert Farm’s camel milk. I can’t wait to hear your thoughts on it.</p>
  135.             <img src="images/on-the-way.png" class="float-right">
  136.             <p>Unfortunately, there’s good news and bad news.</p>
  137.             <p>The good news is…</p>
  138.             <p>We’ve got your order and in less than 5 days, you’re going to get a package delivered to your doorstep shipped directly from one of our family farms.</p>
  139.             <p>(We work really fast!)</p>
  140.             <p>But the bad news is...</p>
  141.             <p>Since Desert Farm is a young business with only six farms in its network totalling 200 camels…</p>
  142.             <p>We’re only able to service about 1,000 regular monthly customers.</p>
  143.             <p>We already have 7,000 families who are loyal subscribers, and I want to see if you’d be interested in joining them.</p>
  144.             <p>So I’ve made an incredibly special offer for you.</p>
  145.             <h2 class="lato-heavy forty-four">What if I picked up the shipping and handling… And only charged you wholesale for monthly deliveries?</h2>
  146.             <img src="images/six-bottles.jpg" class="float-left">
  147.             <p class="twenty-nine bold">Here's how it works:</p>
  148.             <p>Simply upgrade your order... and we'll guarantee your spot and send your first bi-monthly shipment right away (Six 16oz bottles of camel milk) for just $205/month.</p>
  149.             <p>Then, every two weeks, you’ll get enough milk for your family.</p>
  150.             <p>That’s <strong><i>six bottles</i></strong> of 16oz camel milk every two weeks delivered straight to your door.</p>
  151.             <p>At $18 per bottle retail value… <strong>you’re saving almost 20% when you include shipping.</strong></p>
  152.             <h2 class="lato-black thirty-nine italic red">THIS IS THE LOWEST PRICE I CAN OFFER CAMEL MILK HERE WITHOUT GOING BANKRUPT</h2>
  153.             <p>By subscribing at this “lowest price possible”… you are ensured to get 12 bottles of camel milk, straight to your door, every month.</p>
  154.             <p>What’s more…</p>
  155.             <p>&nbsp;</p>      
  156.         </div>
  157.     </div>
  158.  
  159.     <?php
  160.  
  161.         $firstName    = $_REQUEST['cname'];
  162.         $emailAddress = $_REQUEST['cemail'];
  163.         $properties   = array( '$email' => $emailAddress, '$first_name' => 'John');
  164.         $listId       = 'LLRu4F';
  165.  
  166.         // Get cURL resource
  167.         $curl = curl_init();
  168.         curl_setopt_array($curl, array(
  169.             CURLOPT_RETURNTRANSFER => 1,
  170.             CURLOPT_URL => 'https://a.klaviyo.com/api/v1/list/'.$listId.'/members',
  171.             CURLOPT_POST => 1,
  172.             CURLOPT_POSTFIELDS => array(
  173.                 'api_key'       => 'pk_be148bf94a37bd499d741049afe74d6334',
  174.                 'confirm_optin' => false,
  175.                 'properties'    => json_encode($properties),
  176.                 'email'         => $emailAddress
  177.             )
  178.         ));
  179.  
  180.         // Send the request & save response to $resp
  181.         $resp = curl_exec($curl);
  182.         // Close request to clear up some resources
  183.         curl_close($curl);
  184.  
  185.         # Print response.
  186.        echo "<pre>$resp</pre>";
  187.  
  188.     ?>
  189.  
  190.     <div class="skull-box">
  191.         <img src="images/guarantee.png" class="float-left">
  192.         <p class="lato-black thirty-four">100% MONEY-BACK GUARANTEE</p>
  193.         <p>I’m going to offer you a <u><strong>100% money-back, no-questions-asked guarantee</strong></u> with this offer.</p>
  194.         <p>At any given time in the subscription you feel like you don’t want camel milk anymore…</p>
  195.         <p>Just let us know. Call or email. And we will refund your last shipment.</p>
  196.         <p>We are committed to a long-term relationship here. We want a community of families we can ship camel milk to the next twenty to thirty years.</p>
  197.     </div>
  198.     <div class="content" style="border-bottom-left-radius: 30px; border-bottom-right-radius: 30px">
  199.         <div class="padded-content">
  200.             <p style="margin:0; height:1px;">&nbsp;</p>
  201.             <p>Now -- a bunch of people have already upgraded. As of yesterday, we have just <strong>1,000 spots remaining</strong> for new members. (And these are going fast!)</p>
  202.             <p class="bold">Do you want us to upgrade your order too?</p>
  203.             <div class="red-border-box">
  204.                 <ul class="red-checkbox">
  205.                     <li><strong><span class="twenty-nine">Yes!</span></strong> I would like to join the Desert Farm family and get wholesale pricing with <strong>free shipping & handling.</strong>
  206.                 </ul>
  207.                 <ul class="green-checks-alt">
  208.                     <li>I understand I’ll still get my <u>free trial of four 8oz bottles of Desert Farm Camel Milk first.</u></li>
  209.                     <li>I understand I will receive six bottles of 16oz camel milk every two weeks until I ask you to stop. This will start two weeks after I receive my “free trial offer” as stated above.</li>
  210.                     <li>I understand that I will be charged $205/month. This is the wholesale price for twelve 16oz bottles.</li>
  211.                     <li>I understand I am getting <strong>free shipping and handling</strong> with this offer.</li>
  212.                     <li>I understand each shipment is backed by a <strong><u>100% money-back, no-questions-asked guarantee</u>.</strong> I risk absolutely nothing. I just need to email or call you, and I’ll receive my latest shipment refunded, no questions asked.</li>
  213.                 </ul>
  214.             </div>
  215.             <div class="offers">
  216.                 <div class="best-offer1">
  217.                     <h2 class="lato-heavy thirty-six blue">BEST OFFER</h2>
  218.                     <h2 class="lato-bold eighteen">(FREE SHIPPING)</h2>
  219.                     <p class="sixteen"><strong>Yes!</strong> Please send me twelve (12) 16oz bottles of Desert Farm camel milk every month. (One shipment every 30 days)</p>
  220.                     <p align="center"><img src="images/best-offer.png"></p>
  221.                     <h2 class="lato-black twenty-nine">Normally: <span class="red line-through">$250</span><br><span class="forty green">$205/Mo.</span></h2>
  222.                     <p align="center" class="eighteen blue lato-black">(Save 18%!*)</p>
  223.                      <form action="http://CM12.camelmilk1.pay.clickbank.net?cbur=a&cbrblaccpt=true" method="post">
  224.                     <p><input type="checkbox" required name="terms">By clicking this you agree that you are adding a subscription/recurring product to your order</a></p>
  225.                     <p>
  226.                     <input type=image src="images/add-to-cart.png" alt="Add To Cart" class="buy-button">
  227.                     </p>
  228.                     <p class="lato-bold thirteen">*12 bottles at $18 plus $34 for shipping</p>
  229.                     </form>
  230.                 </div>
  231.                 <div class="great-offer1">
  232.                     <h2 class="lato-heavy thirty">GREAT OFFER</h2>
  233.                     <h2 class="lato-bold eighteen">(FREE SHIPPING)</h2>
  234.                     <p class="sixteen"><strong>Yes!</strong> Please send me six (6) 16oz bottles of Desert Farm camel milk every month. (One shipment every 30 days)</p>
  235.                     <p><img src="images/great-offer.png"></p>
  236.                     <h2 class="lato-black twenty-nine">Normally: <span class="red line-through">$140</span><br><span class="forty green">$120/Mo.</span></h2>
  237.                     <p class="eighteen blue lato-black">(Save 15%!*)</p>
  238.                      <form action="http://CM6.camelmilk1.pay.clickbank.net?cbur=a&cbrblaccpt=true" method="post">
  239.                     <p><input type="checkbox" required name="terms">By clicking this you agree that you are adding a subscription/recurring product to your order</a></p>
  240.                     <p>
  241.                     <input type=image src="images/add-to-cart.png" alt="Add To Cart" class="buy-button">
  242.                     </p>
  243.                     <p class="lato-bold thirteen">*6 bottles at $18 plus $32 for shipping</p>
  244.                     </form>
  245.                 </div>
  246.                 <div class="no-thanks"><p class="sixteen"><b><a href="http://CM12.camelmilk1.pay.clickbank.net?cbur=d&cbf=<?php echo $_REQUEST['cbf']; ?>">No Thanks</a></b> - I would like to stick with the free camel milk offer for now & pass on the subscription savings.</p>
  247.                 </div>
  248.             </div>
  249.             <p>&nbsp;</p>
  250.         </div>
  251.     </div>
  252.     <div class="footer">
  253.         <img src="../images/footer.jpg" />
  254.         <div class="disclaimer">
  255.         <p style="text-align: center;">
  256.         <a href="https://desertfarms.com/pages/terms-of-sale" target="_blank">Shipping & Returns Policy</a> - <a href="mailto:support@desertfarms.com">Contact Us</a> </p>
  257.         <p>+1 (800) 430 - 7426</p>
  258.         <p>ClickBank is the retailer of products on this site. CLICKBANK® is a registered trademark of Click Sales, Inc., a Delaware corporation located at 1444 S. Entertainment Ave., Suite 410 Boise, ID 83709, USA and used by permission. ClickBank's role as retailer does not constitute an endorsement, approval or review of these products or any claim, statement or opinion used in promotion of these products.
  259.         </p>
  260.         </div>
  261.     </div>
  262. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  263.     <!-- <script type="text/javascript">
  264.         function toggleLink(checkBox)   {
  265.     var link = document.getElementById("agreeLink");
  266.     if (checkBox.checked)
  267.         link.style.display = "inline";
  268.     else
  269.         link.style.display = "none";    
  270.     }
  271.    
  272.     function toggleLink2(checkBox)  {
  273.     var link2 = document.getElementById("agreeLink6pack");
  274.     if (checkBox.checked)
  275.         link2.style.display = "inline";
  276.     else
  277.         link2.style.display = "none";
  278.     }
  279.     </script> -->
  280. <!-- The Modal -->
  281. <!-- <div id="myModal-12pack" class="modal12pack">
  282.  
  283.   <div class="modal-content">
  284.     <span class="close-12pack">&times;</span>
  285.     <h2>I understand that I will pay $149 today for my first pack of 12 Raw Camel Milk.</h2>
  286.     <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent tempus, purus nec facilisis molestie, elit nunc mattis nunc, id lacinia nunc arcu eu dui. Quisque bibendum tortor tortor, id tristique enim rutrum et. Donec semper magna nec ligula mattis varius. Quisque pellentesque eu est vel posuere. Praesent neque nibh, laoreet vitae orci ut, facilisis vulputate odio. Ut condimentum lacus sed justo feugiat, at cursus nunc pulvinar. Nunc iaculis, urna id porttitor ornare, mauris massa vehicula ante, nec hendrerit nisl mi id quam. In id tincidunt purus.</p>
  287.     <p style="text-align: center"><a href="http://5.camelmilk1.pay.clickbank.net?cbur=a&cbrblaccpt=true&cbf=<?php echo $_REQUEST['cbf']; ?>"><img src="images/add-to-accept.png"></a></p>
  288.  
  289.  
  290.   </div>
  291.  
  292. </div> -->
  293.  
  294. <!-- <div id="myModal-6pack" class="modal6pack">
  295.  
  296.   <div class="modal-content">
  297.     <span class="close-6pack">&times;</span>
  298.     <h2>I understand that I will pay $99 today for my first pack of 6 Raw Camel Milk.</h2>
  299.     <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent tempus, purus nec facilisis molestie, elit nunc mattis nunc, id lacinia nunc arcu eu dui. Quisque bibendum tortor tortor, id tristique enim rutrum et. Donec semper magna nec ligula mattis varius. Quisque pellentesque eu est vel posuere. Praesent neque nibh, laoreet vitae orci ut, facilisis vulputate odio. Ut condimentum lacus sed justo feugiat, at cursus nunc pulvinar. Nunc iaculis, urna id porttitor ornare, mauris massa vehicula ante, nec hendrerit nisl mi id quam. In id tincidunt purus.</p>
  300.     <p style="text-align: center"><a href="http://1.camelmilk1.pay.clickbank.net?cbur=a&cbrblaccpt=true&cbf=<?php echo $_REQUEST['cbf']; ?>"><img src="images/add-to-accept.png"></a></p>
  301.  
  302.  
  303.   </div>
  304.  
  305. </div> -->
  306.  
  307. <!--    <script type="text/javascript">
  308. // Get the modal that opens 12 pack subscription
  309. var modal12pack = document.getElementById('myModal-12pack');
  310.  
  311. // Get the button that opens the modal for 12 pack subscription
  312. var btn12pack = document.getElementById("myBtn-12pack");
  313.  
  314. // Get the <span> element that closes the modal
  315. var span12 = document.getElementsByClassName("close-12pack")[0];
  316.  
  317.  
  318. // Get the modal that opens 6 pack subscription
  319. var modal6pack = document.getElementById('myModal-6pack');
  320.  
  321. // Get the button that opens the modal for 6 pack subscription
  322. var btn6pack = document.getElementById("myBtn-6pack");
  323.  
  324. // Get the <span> element that closes the modal
  325. var span6 = document.getElementsByClassName("close-6pack")[0];
  326.  
  327. // When the user clicks the button, open the modal
  328. btn12pack.onclick = function() {
  329.     modal12pack.style.display = "block";
  330. }
  331. // When the user clicks the button, open the modal
  332. btn6pack.onclick = function() {
  333.     modal6pack.style.display = "block";
  334. }
  335.  
  336. // When the user clicks on <span> (x), close the modal
  337. span12.onclick = function() {
  338.     modal12pack.style.display = "none";
  339. }
  340. span6.onclick = function() {
  341.     modal6pack.style.display = "none";
  342. }
  343.  
  344. // When the user clicks anywhere outside of the modal, close it
  345. window.onclick = function(event) {
  346.     if (event.target == modal6pack) {
  347.         modal6pack.style.display = "none";
  348.     }
  349.     if (event.target == modal12pack) {
  350.         modal12pack.style.display = "none";
  351.     }
  352. }
  353.  
  354. </script> -->
  355. </body>
  356. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement