$(function(){ var url = encodeURIComponent(encodeURIComponent(encodeURIComponent(window.location.pathname))); $('#login-top').html($("
".replace(/______/gi, url).replace(/__--__/gi, window.location.pathname))); $('#user-head').prepend($("".replace(/______/gi, url).replace(/__--__/gi, window.location.pathname))); $('.popup-login').addClass('login-required'); $('.if-not-logued').show(); $('.box-create-topic').addClass('not-logged'); $('.if-not-javascript').hide(); //manageLogin();#2837 });