Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html style="overflow: hidden;">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <script type="text/javascript" src="/assets/js/jquery-1.7.2.min.js"></script>
- <link href="/assets/css/bootstrap.css" rel="stylesheet">
- <script src="/assets/js/bootstrap.min.js"></script>
- <link rel='stylesheet' id='google_font_open_sans-css' href='//fonts.googleapis.com/css?family=Open+Sans%3A400%2C700%2C300&ver=3.5.1' type='text/css' media='all' />
- <style>
- .offer_table td{
- height: 43px;
- }
- #offer_container{
- overflow:hidden;
- height:320px;
- }
- .popularity{
- height: 13px;
- margin-bottom: 4px;
- width:80%;
- }
- .side{
- text-align: left;
- }
- .offer_table td.bump.notMobile {
- width: 85px;
- }
- .offer_table td.bump.isMobile {
- display:none;
- width: 0;
- }
- .offer_table td.side.notMobile {
- float: right;
- width: 85px;
- display: inline;
- height: 100%;
- }
- .offer_table td.side.isMobile {
- display:none;
- width: 0;
- }
- .offer_table {
- text-align: center;
- margin: 5px auto;
- border-collapse: collapse;
- }
- .offer_table.notMobile{
- width: 95%;
- }
- .offer_table.isMobile{
- width: 100%;
- }
- .theme_default .offer_table td.side {
- font: normal 11px Verdana, Helvetica, Georgia, sans-serif;
- }
- .theme_default .offer_table{
- border: 1px solid #D1D8D8;
- }
- .theme_default .offer_table a.notMobile{
- font: normal 14px 'Open Sans',Verdana,Georgia;
- }
- .theme_default .offer_table a.isMobile{
- font: normal 12px 'Open Sans',Verdana,Georgia;
- }
- .theme_default .offer_table tr:nth-child(even) {
- background-color: #EFF7FF;
- }
- .theme_default .offer_table tr.even{
- background-color: #EFF7FF;
- }
- </style>
- </head>
- <body>
- <div id="cf_offers" class="theme_default">
- <table class="offer_table notMobile">
- <tr class='offerRowTR notMobile'>
- <td class='bump notMobile'> </td>
- <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>
- <td class='side toolTipBottom notMobile' title='Survey Popularity: 98%'>Popularity:
- <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='98' style='width: 0;'></div></div>
- </td>
- </tr><tr class='offerRowTR notMobile'>
- <td class='bump notMobile'> </td>
- <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>
- <td class='side toolTipBottom notMobile' title='Survey Popularity: 93%'>Popularity:
- <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='93' style='width: 0;'></div></div>
- </td>
- </tr><tr class='offerRowTR notMobile'>
- <td class='bump notMobile'> </td>
- <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>
- <td class='side toolTipBottom notMobile' title='Survey Popularity: 91%'>Popularity:
- <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='91' style='width: 0;'></div></div>
- </td>
- </tr><tr class='offerRowTR notMobile'>
- <td class='bump notMobile'> </td>
- <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>
- <td class='side toolTipBottom notMobile' title='Survey Popularity: 89%'>Popularity:
- <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='89' style='width: 0;'></div></div>
- </td>
- </tr><tr class='offerRowTR notMobile'>
- <td class='bump notMobile'> </td>
- <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>
- <td class='side toolTipBottom notMobile' title='Survey Popularity: 84%'>Popularity:
- <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='84' style='width: 0;'></div></div>
- </td>
- </tr><tr class='offerRowTR notMobile'>
- <td class='bump notMobile'> </td>
- <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>
- <td class='side toolTipBottom notMobile' title='Survey Popularity: 79%'>Popularity:
- <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='79' style='width: 0;'></div></div>
- </td>
- </tr><tr class='offerRowTR notMobile'>
- <td class='bump notMobile'> </td>
- <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>
- <td class='side toolTipTop notMobile' title='Survey Popularity: 76%'>Popularity:
- <div class='popularity progress progress-striped active progress-success'><div class='bar popularityBar' popularityValue='76' style='width: 0;'></div></div>
- </td>
- </tr> </table>
- </div>
- </body>
- </html>
- <script type="text/javascript">
- var surveyClicked = false;
- var checkSurveyComplete=true;
- var file_id = "247318";
- var visitor_id = 344874263;
- var downloadURL="http://templates.cleanfiles.net/download_file2.php?file_id=" + file_id + "&visitor_id="+visitor_id;
- var surveysCompleted=0;
- var earningsCompleted=0;
- var surveysTarget=1;
- var earningsTarget=0;
- var isMobile=false;
- $(document).ready(function() {
- checkl();
- $(".offer_table tr:nth-child(even)").addClass("even");
- if(!isMobile){
- $(".popularityBar").each(function(){
- var popvalue=$(this).attr("popularityValue");
- $(this).css("width",popvalue+"%");
- });
- $('.toolTipBottom').tooltip({placement:"bottom",container: 'body'});
- $('.toolTipTop').tooltip({placement:"top"});
- }
- activate_click();
- });
- function activate_click() {
- $(".cleanfilesOffer").click(function () {
- if (!surveyClicked) {
- parent.offerClickAdmin();
- surveyClicked = true;
- }
- });
- }
- function checkl() {
- var time = new Date().getTime();
- $.ajax({
- type:"POST",
- url:"/check_survey.php",
- dataType: "json",
- data:{file_id:file_id,time:time,visitor_id:visitor_id},
- timeout:1500,
- success: function(response){
- var response_earnings=response.earnings;
- var response_count=response.count;
- if(response_count > surveysCompleted){
- //New survey completed on check!
- surveysCompleted=response_count;
- earningsCompleted=response_earnings;
- if(surveysCompleted < surveysTarget){
- alert(surveysCompleted + " survey(s) complete! Please complete "+surveysTarget+" to unlock this file!");
- }
- else if(earningsCompleted < earningsTarget){
- var pointComplete=earningsCompleted*100;
- var pointsNeeded=earningsTarget*100;
- alert(pointComplete + " points earned! Please earn "+pointsNeeded+" points to unlock this file!");
- }
- else{
- alert("Complete! Click the link to download your file!");
- window.top.location.href = downloadURL;
- var downloadHTML="Survey complete! Download via the following URL: "+"<a href='"+downloadURL+"'>"+downloadURL+"</a>";
- $('#cf_offers').html(downloadHTML);
- checkSurveyComplete=false;
- }
- }
- if(checkSurveyComplete){
- setTimeout(function () {
- checkl();
- }, 14000);
- }
- },
- error: function(msg, xhr){
- console.log("Error occurred. Please try again.");
- console.log(msg.responseText);
- setTimeout(function () {
- checkl();
- }, 14000);
- }
- });
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement