|
Форум сайта » Система uCoz » Поиск скриптов » Вид материалов форума (белый) |
Вид материалов форума (белый) |
Дата: Понедельник, 10.01.2011, 09:42 | Сообщение # 2 Данный пользователь заблокирован, возможно он мошенник!
[MakarOFF],
Code <html> <head> <title>$FORUM_TITLE$</title> <link type="text/css" rel="StyleSheet" href="/_st/my.css" /> <script type="text/javascript" src="/js/pading.js"></script> <script type="text/javascript" src="/js/design.js"></script> <script type="text/javascript" src="/js/cookie.js"></script> <script type="text/javascript" src="/js/jquery-1.2.6.pack.js"></script> </head> <body style="background:url('/img/bg.png') #000000; margin:0px; padding:0px;"> <center><table border="0" cellpadding="5" cellspacing="0" width="85%"><tr><td class="bBlok5"> $GLOBAL_AHEADER$ </td></tr></table> <center><table border="0" cellpadding="5" cellspacing="0" width="85%"><tr><td class="bBlok2"> <center><table border="0" cellpadding="5" cellspacing="0" width="100%"><tr><td valign="top" align="center"></center> <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:#e1e1e1; padding:4px;border:1px solid #5d5d5d;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius: 5px;"> $BODY$ <script type="text/javascript" src="/js/sintakcis.js"></script> <script type="text/javascript" src="/js/bspoiler.js"></script> <script type="text/javascript"> diviki = document.getElementsByTagName('DIV'); for( i = 0; i < diviki.length; i++) { if(diviki[i].className == "quoteMessage") { diviki[i].style.border = 'none'; diviki[i].style.background = '#d5d5d5'; diviki[i].style.lineHeight = '1.8em'; diviki[i].style.fontSize = '0.8em'; diviki[i].style.padding = '2px 5px 2px 25px'; diviki[i].style.margin = '4px 5px'; diviki[i].style.color = '#5d5d5d'; diviki[i].style.borderTop = '1px dashed #5d5d5d'; diviki[i].style.borderBottom = '1px dashed #5d5d5d'; } if(diviki[i].className == "codeMessage") { diviki[i].style.border = 'none'; diviki[i].style.background = '#e8e8e8'; diviki[i].style.lineHeight = '1.8em'; diviki[i].style.fontSize = '0.8em'; diviki[i].style.padding = '2px 5px 2px 25px'; diviki[i].style.margin = '4px 5px'; diviki[i].style.color = '#5d5d5d'; diviki[i].style.borderTop = '1px dashed #5d5d5d'; diviki[i].style.borderBottom = '1px dashed #5d5d5d'; } if(diviki[i].className == "bbQuoteName") { if(diviki[i].innerHTML == '<b>Quote</b>'){author = '';} else { author = '<span style="font-size:1em">' + diviki[i].innerHTML.slice(diviki[i].innerHTML.indexOf('(') + 1,diviki[i].innerHTML.indexOf(')')) + '</span> ';} diviki[i].innerHTML = '<i><b> ' + author + 'писал(а):</b></i>';} if(diviki[i].className == "bbCodeName") { diviki[i].innerHTML = 'Код:';} } </script> <?if($USER_LOGGED_IN$)?> <?else?> <script> e=document.getElementsByTagName('A'); for(k=0; k<e.length;k++) { if(e[k].className=="link"){ e[k].innerHTML = "<b>[Ссылки могут видеть только зарегистрированные пользователи]</b>"; e[k].href="$REGISTER_LINK$"; } } </script> <?endif?> <script type="text/javascript" language="javascript"> e=document.getElementsByTagName("TD"); for(k=15; k<e.length;k++) { if(e[k].className=='posttdMessage') { s=e[k].innerHTML; while (s.indexOf('[blink]') != -1){ s=s.replace('[blink]','<blink>'); s=s.replace('[/blink]','</blink>'); e[k].innerHTML=s; } } } </script> <script type="text/javascript"> e=document.getElementsByTagName("TD"); for(k=0;k<e.length;k++) { if(e[k].className=='posttdMessage') { s=e[k].innerHTML; while (s.indexOf('[table]') != -1) { s=s.replace('[table]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#e8e8e8; border:1px dashed #5d5d5d;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px;"><tr> </td><td><font style="font-size: 11px; font-family: Verdana; color: 5d5d5d;">'); s=s.replace('[/table]','</font></td></tr></table>'); e[k].innerHTML=s;}}} </script> <script type="text/javascript"> e=document.getElementsByTagName("TD"); for(k=0;k<e.length;k++) { if(e[k].className=='posttdMessage') { s=e[k].innerHTML; while (s.indexOf('[red]') != -1) { s=s.replace('[red]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#e8e8e8; border:1px dashed red;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px;"><tr><td style="width:50px; height:50px; background-image: url(/bbcodes/bbcode1.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: red;">'); s=s.replace('[/red]','</font></td></tr></table>'); e[k].innerHTML=s;}}} </script> <script type="text/javascript"> e=document.getElementsByTagName("TD"); for(k=0;k<e.length;k++) { if(e[k].className=='posttdMessage') { s=e[k].innerHTML; while (s.indexOf('[blue]') != -1) { s=s.replace('[blue]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#e8e8e8; border:1px dashed #0066CC;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px;"><tr><td style="width:50px; height:50px; background-image: url(/bbcodes/bbcode2.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: #0066CC">'); s=s.replace('[/blue]','</font></td></tr></table>'); e[k].innerHTML=s;}}} </script> <script type="text/javascript"> e=document.getElementsByTagName("TD"); for(k=0;k<e.length;k++) { if(e[k].className=='posttdMessage') { s=e[k].innerHTML; while (s.indexOf('[green]') != -1) { s=s.replace('[green]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#e8e8e8; border:1px dashed green;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px;"><tr><td style="width:50px; height:50px; background-image: url(/bbcodes/bbcode3.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: green;">'); s=s.replace('[/green]','</font></td></tr></table>'); e[k].innerHTML=s;}}} </script> <script type="text/javascript"> e=document.getElementsByTagName("TD"); for(k=0;k<e.length;k++) { if(e[k].className=='posttdMessage') { s=e[k].innerHTML; while (s.indexOf('[gray]') != -1) { s=s.replace('[gray]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#e8e8e8; border:1px dashed #898989;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px;"><tr><td style="width:50px; height:50px; background-image: url(/bbcodes/bbcode4.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 11px; font-family: Verdana; color: 898989;">'); s=s.replace('[/gray]','</font></td></tr></table>'); e[k].innerHTML=s;}}} </script> </div> $GLOBAL_FORUMSTATS$ </td></tr></table></table> $GLOBAL_BFOOTER$ </td></tr></table></center> </body> </html> <script> //Hint Start // CLASS : MW_System_Load // Init function MW_System_Load(){ this.wib = screen.width; this.heb = screen.height; this.documes = (document.getElementById || document.createElement || document.getElementsByTagName) ? true : false; this.objects = window.addEventListener || window.attachEvent ? window : document.addEventListener ? document : null; this.types = 'load'; } MW_System_Load.prototype.addsevent = function(func){ if(this.objects.addEventListener){ this.objects.addEventListener(this.types,func,false); return true; } else if (this.objects.attachEvent){ this.objects.attachEvent("on" + this.types,func); } else { return false; } } MW_System_Load.prototype.browser = function(){ this.ver = navigator.appVersion; this.agent = navigator.userAgent.toLowerCase(); this.dom = document.getElementById ? 1:0; this.all = document.all ? 1:0; this.ie5 = (this.ver.indexOf("MSIE 5")>-1 && this.dom) ? 1:0; this.ie6 = (this.ver.indexOf("MSIE 6")>-1 && this.dom) ? 1:0; this.ie4 = (document.all && !this.dom) ? 1:0; this.ie = this.ie4 || this.ie5 || this.ie6; this.opera = this.agent.indexOf("opera")>-1; this.gecko = (this.agent.indexOf("gecko")!=-1) ? 1:0; this.bw = (this.ie || this.opera || this.gecko); return this; } MW_System_Load.prototype.findobj = function(obj){ this.parent = window.document; if(this.parent[obj]){ return this.parent[obj]; } if(this.parent.all && this.parent.all[obj]){ return this.parent.all[obj]; } if(this.parent.layers && this.parent.layers[obj]){ return this.parent.layers[obj]; } if(this.parent.getElementById && this.parent.getElementById(obj)){ return this.parent.getElementById(obj); } return null; } var MW = new MW_System_Load(); function MW_System_Hint(){} MW_System_Hint.prototype.show = function(obj,str){ var hint = MW.findobj('hint'); if(!obj){ return; } if(!MW.documes){ return; } if(!hint){ return; } hint.className = 'hint'; hint.style.left = 15; hint.style.top = 50; obj.onmouseout = function(advance){ hint.style.width = ''; hint.style.visibility = 'hidden'; if(hint.firstChild) hint.removeChild(hint.firstChild); hint.appendChild(document.createTextNode(str)); }; obj.onmousemove = function(advance){ //str = str.replace(/</g,"<"); //str = str.replace(/>/g,">"); hint.style.width = ''; hint.innerHTML = str; vc = document.getElementsByTagName((document.compatMode && document.compatMode=="CSS1Compat") ? "HTML":"BODY")[0]; x = window.event ? event.clientX + vc.scrollLeft : advance.pageX; y = window.event ? event.clientY + vc.scrollTop : advance.pageY; vcwidth = vc.clientWidth ? vc.clientWidth + vc.scrollLeft : window.innerWidth + window.pageXOffset; vcheight = vc.innerHeight ? window.innerHeight + window.pageYOffset : vc.clientHeight + vc.scrollTop; if(hint.offsetWidth>500){ hint.style.width = '200'; } if((x + hint.offsetWidth + 15) > vcwidth){ hint.style.left = x - hint.offsetWidth - 4; } else { hint.style.left = x + 15; } if((y + hint.offsetHeight + 19) > vcheight){ hint.style.top = y - hint.offsetHeight; } else { hint.style.top = y + 25; } //if(typeof(hint.style.MozOpacity)!="undefined"){ hint.style.opacity = '.91'; hint.style.filter = "alpha(opacity:91)"; //} hint.style.visibility = 'visible'; }; } MW_System_Hint.prototype.initialize = function(){ var hint = document.createElement("DIV"); hint.setAttribute('id','hint'); document.getElementsByTagName('body')[0].appendChild(hint); hint.style.visibility = 'hidden'; var hintmarker = ['a','img','img','input','span','div','textarea']; var textmarker = ['title','alt','title','title','title','title','title']; var lenmarker = hintmarker.length; for(var i=0; i<lenmarker; i++) { atr = document.getElementsByTagName(hintmarker[i]); for(var j=0; j<atr.length; j++) if(viewhint=atr[j].getAttribute(textmarker[i])){ atr[j].removeAttribute(textmarker[i]); HINT.show(atr[j],viewhint); } } } var HINT = new MW_System_Hint(); if(MW.objects){ MW.addsevent(HINT.initialize); } //Hint End </script><script type="text/javascript"> //<![CDATA[ function getBrowserInfo() { var t,v = undefined; if (window.opera) t = 'Opera'; else if (document.all) { t = 'IE'; var nv = navigator.appVersion; var s = nv.indexOf('MSIE')+5; v = nv.substring(s,s+1); } else if (navigator.appName) t = 'Netscape'; return {type:t,version:v}; } function bookmark(a){ var url = window.document.location; var title = window.document.title; var b = getBrowserInfo(); if (b.type == 'IE' && 7 > b.version && b.version >= 4) window.external.AddFavorite(url,title); else if (b.type == 'Opera') { a.href = url; a.rel = "sidebar"; a.title = url+','+title; return true; } else if (b.type == "Netscape") window.sidebar.addPanel(title,url,""); else alert("Нажмите CTRL-D, чтобы добавить страницу в закладки."); return false; } //]]> </script> Начинаю жить по новому :) |
Offline
Ответ дан !
Помогаю по uCoz. Пишите Ваши вопросы, отвечу профессионально. |
| |||
| |||