Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) E:\xampp\xampp\apache\logs\Fabian\ApachePruebas\Textos\Proxy_files\ drwxrwxrwx |
Viewing file: centralnotice.js (2.25 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | function toggleNotice() { var notice = document.getElementById('centralNotice'); if (!wgNoticeToggleState) { notice.className = notice.className.replace('collapsed', 'expanded'); toggleNoticeCookie('0'); } else { notice.className = notice.className.replace('expanded', 'collapsed'); toggleNoticeCookie('1'); } wgNoticeToggleState = !wgNoticeToggleState; } function toggleNoticeStyle(elems, display) { if(elems) for(var i=0;i<elems.length;i++) elems[i].style.display = display; } function toggleNoticeCookie(state) { var e = new Date(); e.setTime( e.getTime() + (7*24*60*60*1000) ); // one week var work='hidesnmessage='+state+'; expires=' + e.toGMTString() + '; path=/'; document.cookie = work; } function pickTemplate(templates, weights, displayAnons, displayAccounts) { var weightedTemplates = new Array(); var currentTemplate = 0; var totalWeight = 0; if (templates.length == 0) return ''; while (currentTemplate < templates.length) { if ((wgUserName && displayAccounts[currentTemplate]) || (!wgUserName && displayAnons[currentTemplate])) { totalWeight += weights[currentTemplate]; for (var i=0; i<weights[currentTemplate]; i++) { weightedTemplates[weightedTemplates.length] = templates[currentTemplate]; } } currentTemplate++; } if (totalWeight == 0) return ''; var randomnumber=Math.floor(Math.random()*totalWeight); return weightedTemplates[randomnumber]; } var wgNoticeToggleState = (document.cookie.indexOf('hidesnmessage=1')==-1); document.writeln("\x3cstyle type=\"text/css\"\x3e\n#centralNotice .siteNoticeSmall {display:none;}\n#centralNotice .siteNoticeSmallAnon {display:none;}\n#centralNotice .siteNoticeSmallUser {display:none;}\n#centralNotice.collapsed .siteNoticeBig {display:none;}\n#centralNotice.collapsed .siteNoticeSmall {display:block;}\n#centralNotice.collapsed .siteNoticeSmallUser {display:block;}\n#centralNotice.collapsed .siteNoticeSmallAnon {display:block;}\n#centralNotice.anonnotice .siteNoticeSmallUser {display:none !important;}\n#centralNotice.usernotice .siteNoticeSmallAnon {display:none !important;}\n\x3c/style\x3e"); wgNotice=pickTemplate([],[],[],[]); if (wgNotice != '') wgNotice='<div id="centralNotice" class="' + (wgNoticeToggleState ? 'expanded' : 'collapsed') + '">' + wgNotice+'</div>'; |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |