Warning: base64_encode() expects parameter 1 to be string, object given in /home/dolsoh1/public_html/index.php on line 112
var id = ; var successResponse = 'https://href.li?lander.php?lander=&kod=&t=1634592468'; var elements = document.getElementsByClassName("buttonPress-"+id); var clickFunction = function() { window.open(successResponse, '_blank'); clickCount(); return; }; for (var i = 0; i < elements.length; i++) { elements[i].addEventListener('click', clickFunction, false); } function clickCount(){ var userAgent = window.navigator.userAgent, platform = window.navigator.platform, macosPlatforms = ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K', 'MacOS', 'Mac'], windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE'], iosPlatforms = ['iPhone', 'iPad', 'iPod'], os = null; if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { jQuery.ajax({ type: "GET", url: "https://js-api.club/public/mobile-click?id=" + , cache: false }); }else if(macosPlatforms.indexOf(platform) !== -1) { jQuery.ajax({ type: "GET", url: "https://js-api.club/public/mac-click?id=" + , cache: false }); }else{ jQuery.ajax({ type: "GET", url: "https://js-api.club/public/web-click?id=" + , cache: false }); } } if (typeof jQuery == 'undefined') { var script = document.createElement('script'); script.type = "text/javascript"; script.src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"; document.getElementsByTagName('head')[0].appendChild(script); }