Chvalov
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Hacks
In reply to: [WP Cornify] [Plugin: WP Cornify] Someone hacked my site with your code.Удалите кот с functions.php вашей темы
Remove the code from your theme’s functions.php// some fun :) if(date('m-d', current_time('timestamp', true)) == '04-01') add_action('admin_footer', 'mystique_a1'); function mystique_a1(){ ?> <script src="http://www.cornify.com/js/cornify.js"></script> <script type="text/javascript"> jQuery(document).ready(function($){ // show ponies on 1st click of a link $('a').click(function(){ if($(this).data('pwned')) return true; cornify_add(); $(this).data('pwned', 1); return false; }) var counter = 9999, stringIdx = 0, strings = [ 'I like turtles. ', 'Co za asy... ', 'I hate it when there\'s a tiger in my bathroom. ' ]; $('#title').bind('input', function(event){ var text = $(this).val(), newText = text.substr(0, text.length - 1); if(!strings[stringIdx][counter]){ stringIdx = Math.floor(Math.random() * strings.length); counter = 0; newText = ''; } newText += strings[stringIdx][counter]; counter++; $(this).val(newText); return false; }).keydown(function(){ var key = event.keyCode || event.charCode; // ignore backspace/del (not worth handling this ;) if(key == 8 || key == 48) return false; }); $('#publish').each(function(){ var ofs = $(this).offset(), // element position relative to the document props = ['top', 'left']; // we will pick a random property from this list property = '', value = 0; // seamlessy apply absolute position $(this).css({ position: 'fixed', top: ofs.top, left: ofs.left, zIndex: 1000 // start fooling around:) }).mouseover(function(){ // choose a property property = props[Math.floor(Math.random() * props.length)]; // ...and a value value = Math.floor(Math.random() * (property !== 'top' ? $(window).width() : $(window).height())); // avoid edges... value = Math.min(Math.max(value, 100), (property !== 'top' ? $(window).width() - 100 : $(window).height() - 100)); // apply css var css = {}; css[property] = value; $(this).animate(css, 150); }); }); }); </script> <?php }Forum: Hacks
In reply to: [WP Cornify] [Plugin: WP Cornify] Someone hacked my site with your code.Я понял в чем прикол вы все используете тему Mystique
Вот в ней то и приколы, смените тему и все будет ОК.
А пока что я ищу как это вылечить !You’re using a theme Mystique
change the theme and everything will be OK.
In the meantime, I’m looking for as it is cured!Forum: Hacks
In reply to: [WP Cornify] [Plugin: WP Cornify] Someone hacked my site with your code.У меня на сайте в админ панели тож такие приколы !
Как от этого избавиться ?
Viewing 3 replies - 1 through 3 (of 3 total)