Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.     <html style="overflow: hidden;">
  3.     <head>
  4.         <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  5.         <script type="text/javascript" src="/assets/js/jquery-1.7.2.min.js"></script>
  6.         <link href="/assets/css/bootstrap.css" rel="stylesheet">
  7.         <script src="/assets/js/bootstrap.min.js"></script>
  8.         <link rel='stylesheet' id='google_font_open_sans-css'  href='//fonts.googleapis.com/css?family=Open+Sans%3A400%2C700%2C300&#038;ver=3.5.1' type='text/css' media='all' />
  9.  
  10.  
  11.         <style>
  12.             .offer_table td{
  13.                 height: 43px;
  14.             }
  15.             #offer_container{
  16.                 overflow:hidden;
  17.                 height:320px;
  18.             }
  19.             .popularity{
  20.                 height: 13px;
  21.                 margin-bottom: 4px;
  22.                 width:80%;
  23.             }
  24.             .side{
  25.                 text-align: left;
  26.             }
  27.             .offer_table td.bump.notMobile {
  28.                 width: 85px;
  29.             }
  30.             .offer_table td.bump.isMobile {
  31.                 display:none;
  32.                 width: 0;
  33.             }
  34.             .offer_table td.side.notMobile {
  35.                 float: right;
  36.                 width: 85px;
  37.                 display: inline;
  38.                 height: 100%;
  39.             }
  40.             .offer_table td.side.isMobile {
  41.                 display:none;
  42.                 width: 0;
  43.             }
  44.             .offer_table {
  45.                 text-align: center;
  46.                 margin: 5px auto;
  47.                 border-collapse: collapse;
  48.             }
  49.             .offer_table.notMobile{
  50.                 width: 95%;
  51.             }
  52.             .offer_table.isMobile{
  53.                 width: 100%;
  54.             }
  55.  
  56.  
  57.             .theme_default .offer_table td.side {
  58.                 font: normal 11px Verdana, Helvetica, Georgia, sans-serif;
  59.             }
  60.             .theme_default .offer_table{
  61.                 border: 1px solid #D1D8D8;
  62.             }
  63.             .theme_default .offer_table a.notMobile{
  64.                 font: normal 14px 'Open Sans',Verdana,Georgia;
  65.             }
  66.             .theme_default .offer_table a.isMobile{
  67.                 font: normal 12px 'Open Sans',Verdana,Georgia;
  68.             }
  69.             .theme_default .offer_table tr:nth-child(even) {
  70.                 background-color: #EFF7FF;
  71.             }
  72.             .theme_default .offer_table tr.even{
  73.                 background-color: #EFF7FF;
  74.             }
  75.  
  76.         </style>
  77.     </head>
  78.     <body>
  79.  
  80.     <div id="cf_offers" class="theme_default">
  81.         <table class="offer_table notMobile">
  82.             <tr class='offerRowTR notMobile'>
  83.                 <td class='bump notMobile'> </td>
  84.                 <td><a href='/click.php?offer=1493099&vi=344874263&hash=8b60102c01a585bad9a552e9b9bac5b4&vik=1515f7b455fdbed9d06bb51e80b2397c&_ct=b511d0540d727849bc1edcb2882bf19a551a04cd80f5c' rel='tooltip' target='_blank' class='cleanfilesOffer toolTipBottom notMobile' title='Pin number confirmed'>Answer a few questions and you can win a new iPad Air!</a></td>
  85.                 <td class='side toolTipBottom notMobile' title='Survey Popularity: 98%'>Popularity:
  86.                     <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='98' style='width: 0;'></div></div>
  87.                 </td>
  88.                     </tr><tr class='offerRowTR notMobile'>
  89.                 <td class='bump notMobile'> </td>
  90.                 <td><a href='/click.php?offer=1493869&vi=344874263&hash=347833074e2702f252edf6a3092d3903&vik=1515f7b455fdbed9d06bb51e80b2397c&_ct=fb57a607165d17ad7f49cbef098faf6e551a04cd810c5' rel='tooltip' target='_blank' class='cleanfilesOffer toolTipBottom notMobile' title='Confirm PIN'>Best Spotify Ringtones!</a></td>
  91.                 <td class='side toolTipBottom notMobile' title='Survey Popularity: 93%'>Popularity:
  92.                     <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='93' style='width: 0;'></div></div>
  93.                 </td>
  94.                     </tr><tr class='offerRowTR notMobile'>
  95.                 <td class='bump notMobile'> </td>
  96.                 <td><a href='/click.php?offer=1493097&vi=344874263&hash=1ec6c215bddc2c2be149d4d58f5c359e&vik=1515f7b455fdbed9d06bb51e80b2397c&_ct=ac32cd77eeb1686fb4bb921576d34d18551a04cd811d5' rel='tooltip' target='_blank' class='cleanfilesOffer toolTipBottom notMobile' title='Pin number confirmed'>Take the IQ Test and you could win a iPhone 6!</a></td>
  97.                 <td class='side toolTipBottom notMobile' title='Survey Popularity: 91%'>Popularity:
  98.                     <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='91' style='width: 0;'></div></div>
  99.                 </td>
  100.                     </tr><tr class='offerRowTR notMobile'>
  101.                 <td class='bump notMobile'> </td>
  102.                 <td><a href='/click.php?offer=1481636&vi=344874263&hash=299b2d34afea2cfc7471bad50324debd&vik=1515f7b455fdbed9d06bb51e80b2397c&_ct=27bb6a98dd37c186adc9a65aaf0ec1b5551a04cd812e5' rel='tooltip' target='_blank' class='cleanfilesOffer toolTipBottom notMobile' title='There is no limit to how many surveys you participate in!  Please fill out your email address so we recognize you for future visits; Your Surveys will never email you.'>Get rewarded for every survey taken</a></td>
  103.                 <td class='side toolTipBottom notMobile' title='Survey Popularity: 89%'>Popularity:
  104.                     <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='89' style='width: 0;'></div></div>
  105.                 </td>
  106.                     </tr><tr class='offerRowTR notMobile'>
  107.                 <td class='bump notMobile'> </td>
  108.                 <td><a href='/click.php?offer=1497897&vi=344874263&hash=5ac199471a26a7e8730e8d9e3f15d056&vik=1515f7b455fdbed9d06bb51e80b2397c&_ct=f5b19e4bc5975f534926991982742657551a04cd813e7' rel='tooltip' target='_blank' class='cleanfilesOffer toolTipBottom notMobile' title='Confirm PIN'>Get your 2015 Zodiac!</a></td>
  109.                 <td class='side toolTipBottom notMobile' title='Survey Popularity: 84%'>Popularity:
  110.                     <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='84' style='width: 0;'></div></div>
  111.                 </td>
  112.                     </tr><tr class='offerRowTR notMobile'>
  113.                 <td class='bump notMobile'> </td>
  114.                 <td><a href='/click.php?offer=1490286&vi=344874263&hash=30007c04976c46c9a7a7d26adbc29f79&vik=1515f7b455fdbed9d06bb51e80b2397c&_ct=14a866a24c7f5e352cd7aae541b7a599551a04cd81518' rel='tooltip' target='_blank' class='cleanfilesOffer toolTipBottom notMobile' title='Trial'>Watch all the greatest movies online. Sign up for a 7 day-free trial!</a></td>
  115.                 <td class='side toolTipBottom notMobile' title='Survey Popularity: 79%'>Popularity:
  116.                     <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='79' style='width: 0;'></div></div>
  117.                 </td>
  118.                     </tr><tr class='offerRowTR notMobile'>
  119.                 <td class='bump notMobile'> </td>
  120.                 <td><a href='/click.php?offer=1490284&vi=344874263&hash=c0113806ccc1bcf572e3f0279888d8c5&vik=1515f7b455fdbed9d06bb51e80b2397c&_ct=2d515fd0b205917b3b9a469c548bd64d551a04cd81644' rel='tooltip' target='_blank' class='cleanfilesOffer toolTipTop notMobile' title='Trial'>Watch all the greatest movies online. Sign up for a 7 day-free trial! </a></td>
  121.                 <td class='side toolTipTop notMobile' title='Survey Popularity: 76%'>Popularity:
  122.                     <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='76' style='width: 0;'></div></div>
  123.                 </td>
  124.                     </tr>       </table>
  125.     </div>
  126.     </body>
  127.     </html>
  128.     <script type="text/javascript">
  129.         var surveyClicked = false;
  130.         var checkSurveyComplete=true;
  131.         var file_id = "247318";
  132.         var visitor_id = 344874263;
  133.         var downloadURL="http://templates.cleanfiles.net/download_file2.php?file_id=" + file_id + "&visitor_id="+visitor_id;
  134.         var surveysCompleted=0;
  135.         var earningsCompleted=0;
  136.         var surveysTarget=1;
  137.         var earningsTarget=0;
  138.         var isMobile=false;
  139.  
  140.         $(document).ready(function() {
  141.             checkl();
  142.             $(".offer_table tr:nth-child(even)").addClass("even");
  143.  
  144.             if(!isMobile){
  145.                 $(".popularityBar").each(function(){
  146.                     var popvalue=$(this).attr("popularityValue");
  147.                     $(this).css("width",popvalue+"%");
  148.                 });
  149.                 $('.toolTipBottom').tooltip({placement:"bottom",container: 'body'});
  150.                 $('.toolTipTop').tooltip({placement:"top"});
  151.             }
  152.  
  153.  
  154.             activate_click();
  155.  
  156.         });
  157.  
  158.  
  159.  
  160.         function activate_click() {
  161.             $(".cleanfilesOffer").click(function () {
  162.                 if (!surveyClicked) {
  163.                     parent.offerClickAdmin();
  164.                     surveyClicked = true;
  165.                 }
  166.             });
  167.         }
  168.  
  169.         function checkl() {
  170.             var time = new Date().getTime();
  171.  
  172.             $.ajax({
  173.                 type:"POST",
  174.                 url:"/check_survey.php",
  175.                 dataType: "json",
  176.                 data:{file_id:file_id,time:time,visitor_id:visitor_id},
  177.                 timeout:1500,
  178.                 success: function(response){
  179.                     var response_earnings=response.earnings;
  180.                     var response_count=response.count;
  181.                     if(response_count > surveysCompleted){
  182.                         //New survey completed on check!
  183.                         surveysCompleted=response_count;
  184.                         earningsCompleted=response_earnings;
  185.                         if(surveysCompleted < surveysTarget){
  186.                             alert(surveysCompleted + " survey(s) complete! Please complete "+surveysTarget+" to unlock this file!");
  187.                         }
  188.                         else if(earningsCompleted < earningsTarget){
  189.                             var pointComplete=earningsCompleted*100;
  190.                             var pointsNeeded=earningsTarget*100;
  191.                             alert(pointComplete + " points earned! Please earn "+pointsNeeded+" points to unlock this file!");
  192.                         }
  193.                         else{
  194.                             alert("Complete! Click the link to download your file!");
  195.                             window.top.location.href = downloadURL;
  196.                             var downloadHTML="Survey complete! Download via the following URL: "+"<a href='"+downloadURL+"'>"+downloadURL+"</a>";
  197.                             $('#cf_offers').html(downloadHTML);
  198.                             checkSurveyComplete=false;
  199.                         }
  200.  
  201.                     }
  202.                     if(checkSurveyComplete){
  203.                         setTimeout(function () {
  204.                             checkl();
  205.                         }, 14000);
  206.                     }
  207.                 },
  208.                 error: function(msg, xhr){
  209.                     console.log("Error occurred. Please try again.");
  210.                     console.log(msg.responseText);
  211.                     setTimeout(function () {
  212.                         checkl();
  213.                     }, 14000);
  214.                 }
  215.             });
  216.  
  217.         }
  218.  
  219.  
  220.  
  221.     </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement