1var siteURL = "https://members.fkbook.com/"; // e.g. https://www.google.com/ **!IMPORTANT!** Add trailing slash (/) 2 3// 5step vars - values added here will override querystring 4var webmasterId = "8184"; 5var submitBtnTxt = "Join now"; 6 7 8function getParameterByName(name) { 9 name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); 10 var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), 11 results = regex.exec(location.search); 12 return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); 13} 14function isInt(value) { 15 return !isNaN(value) && (function(x) { return (x | 0) === x; })(parseFloat(value)) 16} 17// get partnerId 18var webmasterId = getParameterByName("partnerId"); 19if (isInt(webmasterId) == false) webmasterId = 8184; 20 21// Replacing Links with siteURL & webmasterId 22$('a, link').attr('href', function(i, v){ 23 return v.replace(/partnerId=([^&]+)/, function(_, oldval) { 24 if (webmasterId == '') { 25 return 'partnerId=8184' 26 } else { 27 return 'partnerId=' + webmasterId 28 } 29 }) 30}); 31$('a, link').attr('href', function(i, v){ 32 return v.replace("https://members.fkbook.com/", function(_, oldval) { 33 if (siteURL == '') { 34 return 'https://members.fkbook.com/' 35 } else { 36 return siteURL 37 } 38 }) 39}); 40 41var mobiledevice = false; 42 43// Rumble 44function scrollSignup() { 45 var rumbleTimeout; 46 $this = $('.hubp-form-container'); 47 clearTimeout(rumbleTimeout); 48 $this.trigger('startRumble'); 49 rumbleTimeout = setTimeout(function () { $this.trigger('stopRumble'); }, 500) 50 51 $('html, body').animate({ 52 scrollTop: ($(".hubp-form-container").offset().top - 200) 53 }, 500); 54} 55 56function doHub() { 57 $('.hubp-form-container').jrumble(); 58} 59 60 61jQuery(document).ready(function () { 62 doHub(); 63 64 var hub_login_widget = new HubPanel(); 65 hub_login_widget.control_type = "login"; 66 hub_login_widget.partnerId = webmasterId; 67 hub_login_widget.url = siteURL; 68 hub_login_widget.placeholder = "hub_login_widget"; 69 hub_login_widget.create(); 70 71 var hub_photoblock_pnl = new HubPanel(); 72 hub_photoblock_pnl.control_type = "photosblock"; 73 //hub_photoblock_pnl.multy_user_types = "all"; //It is possible to use several types separated by commas 74 hub_photoblock_pnl.multy_user_types = ""; 75 hub_photoblock_pnl.category = "stunners"; 76 hub_photoblock_pnl.partnerId = webmasterId; 77 hub_photoblock_pnl.url = siteURL; 78 hub_photoblock_pnl.signup = "javascript:scrollSignup();"; 79 hub_photoblock_pnl.image_size = 850; 80 if ($window.width() < 500) { 81 hub_photoblock_pnl.images_total_count = 100; 82 } else { 83 hub_photoblock_pnl.images_total_count = 100; 84 } 85 hub_photoblock_pnl.liWidth = ""; 86 hub_photoblock_pnl.showLocation = ""; 87 hub_photoblock_pnl.enableFlipEffect = false; 88 hub_photoblock_pnl.placeholder = "hub_photo_block_shrt"; 89 hub_photoblock_pnl.create(); 90 91}); 92 93 94console.log("The Webmaster ID is:", webmasterId); 95console.log("The Site URL is:", siteURL);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.