У меня проблема с форумом! Установила новые скрипты на форум. На следуйщий день захожу там пусто! Все скрипты были скопированы в блокнот, я их еще раз установила а они вообще перестали работать! вот кодыкоторые мне нужно бало установть:
Код:
</script> <td al ign="center"><OBJECT ID="NSPlay" WIDTH=200 HEIGHT=125 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..."> <PARAM NAME="FileName" VALUE="http://cluster.quantumart.ru/broadcast/default.aspx?media=hitfm"> <PARAM NAME="ShowControls" VALUE="1"> <PARAM NAME="ShowPositionControls" VALUE="0"> <PARAM NAME="ShowAudioControls" VALUE="1"> <PARAM NAME="ShowTracker" VALUE="0"> <PARAM NAME="ShowDisplay" VALUE="1"> <PARAM NAME="ShowStatusBar" VALUE="1"> <PARAM NAME="ShowGoToBar" VALUE="0"> <PARAM NAME="ShowCaptioning" VALUE="0"> <PARAM NAME="AutoStart" VALUE="1"> <PARAM NAME="AutoSize" VALUE="1"> <Embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/mediaplayer/en/default.asp" filename="http://cluster.quantumart.ru/broadcast/default.aspx?media=hitfm" src="http://cluster.quantumart.ru/broadcast/default.aspx?media=hitfm" Name=NSPlay ShowControls="1" ShowPositionControls="0" ShowAudioControls="1" ShowTracker="0" ShowDisplay="1" ShowStatusBar="1" ShowGoToBar="0" ShowCaptioning="0" AutoStart="1" AutoSize="0" width=200 height=125> </embed> <table width=100% cellpadding=0 cellspacing=0 border=0> <tr> <td align="center"><OBJECT ID="NSPlay" WIDTH=200 HEIGHT=125 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..."> <PARAM NAME="FileName" VALUE="http://realaudio.aradio.ru/RadioDisco"> <PARAM NAME="ShowControls" VALUE="1"> <PARAM NAME="ShowPositionControls" VALUE="0"> <PARAM NAME="ShowAudioControls" VALUE="1"> <PARAM NAME="ShowTracker" VALUE="0"> <PARAM NAME="ShowDisplay" VALUE="1"> <PARAM NAME="ShowStatusBar" VALUE="1"> <PARAM NAME="ShowGoToBar" VALUE="0"> <PARAM NAME="ShowCaptioning" VALUE="0"> <PARAM NAME="AutoStart" VALUE="1"> <PARAM NAME="AutoSize" VALUE="1"> <Embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows/mediaplayer/en/default.asp" filename="http://realaudio.aradio.ru/RadioDisco" src="http://realaudio.aradio.ru/RadioDisco" Name=NSPlay ShowControls="1" ShowPositionControls="0" ShowAudioControls="1" ShowTracker="0" ShowDisplay="1" ShowStatusBar="1" ShowGoToBar="0" ShowCaptioning="0" AutoStart="1" AutoSize="0" width=200 height=125> </embed> </OBJECT> <script type="text/javascript"> var teg=">" var teg1="<p>" var hint="</div>" var hint1="<div style='display: none;'>" var hint2="display: none" var hid="if (innerHTML.toLowerCase().indexOf(hint2)!=-1) {innerHTML=innerHTML.substring(0, (innerHTML.toLowerCase().indexOf(teg)+1))"+"+innerHTML.substring((innerHTML.toLowerCase().indexOf(teg1)), (innerHTML.length-6))} else {innerHTML=innerHTML.substring(0, (innerHTML.toLowerCase().indexOf(teg)+1))+hint1+innerHTML.substr(innerHTML.toLowerCase().indexOf(teg1))+hint}" var trt="<div onclick='"+hid+"'>"+"<img src='http://uploads.ru/images/k/karpoff/down.gif' /><div style='display: none;'><p>" var trt1="</p></div></div>" var quers=document.getElementById('pun-main').getElementsByTagName("div") var pl=0 for (pl=0; pl<=(quers.length-1); pl++) {if (quers[pl].className=="post-body") {quers[pl].innerHTML=quers[pl].innerHTML.replace(/<spoiler>/g, trt) quers[pl].innerHTML=quers[pl].innerHTML.replace(/<endspoiler>/g, trt1)}} </script> <SCRIPT language="JavaScript"> <!-- function sM(){};dP=1;xB=4; //--> </SCRIPT> <DIV id="AportSR" style="position:relative;width:90px;height:33px;z-index:2;background-color:#80D3F6;float:left;"><a href="http://www.aport.ru/" onmouseover="sM()" onmouseout="sM(1)" target="_blank"><img src="http://www.aport.ru/forms/ap1.gif" width="86" height="29" border="0" alt="поисковая система АПОРТ" hspace=2 vspace=2></a><SCRIPT src="http://www.aport.ru/forms/aportcatalog1.js" charset="windows-1251"></SCRIPT></DIV> <style>.NigmaForm1__1243256856146{width: 220px;border: 0;} .NigmaForm1__1243256856146 label{color: white; }.NigmaForm1__1243256856146 table{ border: 0 !important; border-collapse: separate !important;}.NigmaForm1__1243256856146 form{border: 0 !important;display: block !important;padding: 0 !important;margin: 0 !important;}.NigmaForm1__1243256856146 input.sForm{border: 1px solid #C0C0C0 !important;width: 98% !important;} .NigmaForm1__1243256856146 input.sButton{ border: 1px solid #C0C0C0 !important;cursor: pointer !important; background: #EEEFF2 !important;}.NigmaForm1__1243256856146 .checkbox, label{cursor: pointer !important;font-size: 9pt !important; background: none !important;}</style> <div class="NigmaForm1__1243256856146"> <form action="http://nigma.ru" method="GET" target="NigmaSearch"> <table border="0" cellpadding="0" cellspacing="3" style="width: 100%"> <tr> <td style="padding-left: 2px; padding-top: 2px" valign="top" align="left" colspan="2"> <a target="_blank" href="http://nigma.ru" title="Nigma.ru"> <img style="border: 0; width: 94px; height: 22px" src="http://nigma.ru/themes/nigma/SearhForms/nigma-freeform-green-logo2.black.gif" alt="Интеллектуальная поисковая система Nigma.ru" /> </a> </td> </tr> <tr> <td align="center" style="width: 99%"><input type="text" name="s" value="" class="sForm" maxlength="128" /></td> <td align="right" style="width: 1%; padding-left: 2px"><input type="submit" value="Найти" class="sButton" /></td> </tr> <tr style="display:none;"> <td colspan="2" align="left"> <div> <input type="radio" disabled="disabled" class="radio" name="on_site" value="true" id="OnSite_1243256856146" /> <label for="OnSite_1243256856146">Поиск на сайте</label> </div> <div> <input type="radio" disabled="disabled" class="radio" name="on_site" value="false" id="OnWeb_1243256856146" /> <label for="OnWeb_1243256856146">Поиск в Internet</label> </div> </td> </tr> <tr> </tr> </table> <div> <input type="hidden" name="t" value="web" /> <input type="hidden" name="form_id" value="NewForm3" /> <input type="hidden" name="encoding" value="utf-8" /> <input type="hidden" disabled="disabled" name="ui" value="" /> <input type="hidden" disabled="disabled" name="site" value="" /> <input type="hidden" disabled="disabled" name="custom_logo" value="" /> <input type="hidden" disabled="disabled" name="custom_href" value="" /> </div> </form> </div>+<SCRIPT LANGUAGE="JavaScript1.2"> <!-- Begin var no = 25; // var speed = 12; // var snowflake = "https://forumupload.ru/uploads/0002/25/06/9236-1.gif"; var ns4up = (document.layers) ? 1 : 0; var ie4up = (document.all) ? 1 : 0; var dx, xp, yp; var am, stx, sty; var i, doc_width = 800, doc_height = 600; if (ns4up) { doc_width = self.innerWidth; doc_height = self.innerHeight; } else if (ie4up) { doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx = new Array(); xp = new Array(); yp = new Array(); am = new Array(); stx = new Array(); sty = new Array(); for (i = 0; i < no; ++ i) { dx[i] = 0; xp[i] = Math.random()*(doc_width-50); yp[i] = Math.random()*doc_height; am[i] = Math.random()*20; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); if (ns4up) { if (i == 0) { document.write("<layer name=\"dot"+ i +"\" left=\"15\" "); document.write("top=\"15\" visibility=\"show\"><img src=\""); document.write(snowflake + "\" border=\"0\"></layer>"); } else { document.write("<layer name=\"dot"+ i +"\" left=\"15\" "); document.write("top=\"15\" visibility=\"show\"><img src=\""); document.write(snowflake + "\" border=\"0\"></layer>"); } } else if (ie4up) { if (i == 0) { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\""); document.write(snowflake + "\" border=\"0\"></div>"); } else { document.write("<div id=\"dot"+ i +"\" style=\"POSITION: "); document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: "); document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\""); document.write(snowflake + "\" border=\"0\"></div>"); } } } function snowNS() { for (i = 0; i < no; ++ i) { yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); doc_width = self.innerWidth; doc_height = self.innerHeight; } dx[i] += stx[i]; document.layers["dot"+i].top = yp[i]; document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowNS()", speed); } function snowIE() { for (i = 0; i < no; ++ i) { yp[i] += sty[i]; if (yp[i] > doc_height-50) { xp[i] = Math.random()*(doc_width-am[i]-30); yp[i] = 0; stx[i] = 0.02 + Math.random()/10; sty[i] = 0.7 + Math.random(); doc_width = document.body.clientWidth; doc_height = document.body.clientHeight; } dx[i] += stx[i]; document.all["dot"+i].style.pixelTop = yp[i]; document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]); } setTimeout("snowIE()", speed); } if (ns4up) { snowNS(); } else if (ie4up) { snowIE(); } // End --> </script> <script type="text/javascript"> var text="<center><font color="#FF0000">Хината Хьюга</font>l<font color="#FFF71C">Тен Тен</font>l<font color="#EE82EE">Н@руто</font>|</center>" pa=document.getElementById("pun-stats") pa.style.position = "relative" pa.innerHTML = "<div style=\"position:absolute; z-index:2; center: 10px; top: 40px; width: 100%;\">"+text+"</div>"+ pa.innerHTML </script><script type="text/javascript"> var arr=document.links var arr1=new Array ("Хината Хьюга", "Админ") var arr2=new Array ("Н@руто", "Тен Тен") var arr3=new Array ("Noch", "kotenok", "Участник") for (x in arr) {for (y in arr1) {for (j in arr2) {if (arr[x].innerHTML==arr1[y]) {var b=arr[x].innerHTML arr[x].innerHTML="<font color='red'>"+b+"</font>"} else if (arr[x].innerHTML==arr2[j]) {var c=arr[x].innerHTML arr[x].innerHTML="<font color='#0000FF'>"+c+"</font>"}}}} </script> <script language="JavaScript"> var str = new String(document.getElementById("navpm").innerHTML) var str2 = new String(document.location) if( (str.indexOf("(") != -1) && (str2.indexOf("messages.php") == -1) ) { alert("У Вас есть непрочитанные личные сообщения") } </script> <script type="text/javascript"> var forum = "http://fpforum.anihub.ru" var arr=document.links for (j in arr){ if (arr[j].href==forum+"/viewforum.php?id=35") {arr[j].href="javascript: pass()"} } function pass() { if (prompt('Администратор установил пароль на этот форум', '') == "Хиаши"){ alert('Пароль принят. Нажмите "ОК" для редиректа'); location.href = forum+"/viewforum.php?id=35"; } else alert('Введенный пароль неверен'); } </script> <script> <!-- faseof="Персональный раздел" str = document.getElementById("navprofile").innerHTML pos = str.indexOf("Профиль") document.getElementById("navprofile").innerHTML=str.substring(0,pos)+faseof+str.substring(pos+14,str.length-1) --> </script> <script type="text/javascript"> var mon_array = new Array("", "Января", "Февраля", "Марта", "Апреля", "Мая", "Июня", "Июля", "Августа", "Сентября", "Октября", "Ноября", "Декабря"); Tm = new Date(); Tm.setTime(1000*UserRegistered); m=Tm.getMonth()+1; if (m<10) m=m; hh=Tm.getHours(); mm=Tm.getMinutes()+''; if (mm<10) mm=mm; tm='<strong>'+Tm.getDate()+' '+mon_array[m]+'</strong> в <strong>'+hh+':'+mm+'</strong>'; var UserTotalReg = Math.floor(UserTotalTime/86400) var UserTotalPost = Math.floor(UserPosts/60) var sex_array = new Array("Пол неопределен. Войдите в <a href='/profile.php?section=personal&id="+UserID+"'>Профиль</a> и установите пол", "Ваш пол: <strong>Муж</strong>", "Ваш пол: <strong>Жен</strong>"); var sex = sex_array[UserSex] if (UserAvatar == ""){UserAvatar = "http://s54.radikal.ru/i145/0808/84/e1fbc11ac605.png"} if (UserBirthDate == ""){UserBirthDate = "Дата не выставлена"} if (UserAge == "0"){UserAge = "[Нет сведений]"} var user=", <strong>"+UserName+"</strong>"; if (user == ", <strong></strong>"){user = ""} var arr=document.getElementsByTagName("div") i=0 while(arr[i] ){ if(arr[i].id=="pun-main") { name=arr[i].innerHTML name=name.substring(0) arr[i].innerHTML="<div class=category><h2>Ты</h2><div class=container><table border=0><tr><td><a href='/profile.php?section=avatar&id="+UserID+"' title='Изменить аватару'><img src="+UserAvatar+"></a><br /><strong>"+UserTitle+"</strong></td><td width=40%>Приветствуем на форуме"+user+"!<br />"+sex+"<br />Вы используете стиль: <strong>"+BoardStyle+"</strong><br />Вы в группе <strong>"+GroupTitle+"</strong><br />На форуме Вами было оставлено <strong>"+UserPosts+"</strong> сообщений<br />Ваш возраст: <strong>"+UserAge+"</strong>.<Br />Ваш день рождения: <strong>"+UserBirthDate+"</strong><br /><br />Профиль <a href='/profile.php?id="+UserID+"'>"+UserLogin+"</a> | Ваши <a href='/userlist.php?&show_group="+GroupID+"'>соучастники</a></td><td width=40%><strong>Отношения</strong><br /><br /><a href='/respect.php?id="+UserID+"'>Уважение</a>: <strong>"+UserRespectPlus+"</strong>/<strong>"+UserRespectMinus+"</strong><br /><a href='/positive.php?id="+UserID+"'>Позитив</a>: <strong>"+UserPositivePlus+"</strong>/<strong>"+UserPositiveMinus+"</strong><Br /><Br />Вы зарегистрировались "+tm+" и провели на форуме <strong>"+UserTotalReg+"</strong> дней</td></tr></table></div></div><br />"+name }i++} </script> <script type="text/javascript"> var arr=document.getElementsByTagName("div") i=0 str=document.URL while(arr[i] ){ if(arr[i].id=="pun-main" && GroupID == "3") { name=arr[i].innerHTML name=name.substring(0) arr[i].innerHTML="<div class=category><h2>Информационное табло</h2><div class=container><table border=0><tr><td><img src=http://s54.radikal.ru/i145/0808/84/e1fbc11ac605.png></td><td width=80%>Приветствуем тебя на форуме, Гость.<br />Для участия в конференциях просьба <a href='login.php'>войти</a> или <a href='register.php'>зарегистрироваться</a>.</td></tr></table></div></div><Br />"+name } i++ } </script> <script src="/export.php?type=js&max=10" type="text/javascript"></script> <script type="text/javascript"> var html=''; var ts = ''; var mo = ''; var hh = ''; var mm = ''; var i = 0; for(i=0;i<content.length;i++) { ts = new Date(); ts.setTime(1000*content[i][0]); mo = ts.getMonth()+1; if (mo<10) mo='0'+mo; hh = ts.getHours(); mm = ts.getMinutes()+''; if (mm<10) mm='0'+mm; ts = ts.getDate()+'.'+mo+' '+hh+':'+mm; html2="</tr></tbody></table></div>" html1="<h2>Последние 10 сообщений форума</h2><div class=\"container\"><table cellspacing=\"0\" width=100%><thead><tr><th scope=\"col\">Автор</th><th scope=\"col\">Время</th><th scope=\"col\">Последнее сообщение</th></tr></thead><tbody class=\"hasicon\">" html+='<tr><td>'+content[i][1]+'</td><td class=\"tc2\">'+ts+'<td class=\"tcr\"><a href=\"'+content[i][2]+'\" target=\"_blank\">'+content[i][3]+'</a><br /></td></tr>'; } var arr=document.getElementsByTagName("div") i=0 str=document.URL while(arr[i] ){ if((str.substring(str.lastIndexOf('/')+1)=="" || str.substring(str.lastIndexOf('/')+1)=="index.php") && arr[i].className=="statscon"){ name=arr[i].innerHTML name=name.substring(0) arr[i].innerHTML=""+html1+""+html+""+html2+"<br><h2>Общая статистика</h2>"+name+"" } i++ } <iframe name="AddVote" width="0" height="0"></iframe> <script type="text/javascript"> if(GroupID==1 || GroupID==2){ var dib = document.getElementsByTagName("li") var ids = new Array(); var p = 0; var typeDesc; for(q=0;q<dib.length-1;q++) { if(dib[q].className.indexOf("pl-email")!=-1) { if(dib[q].innerHTML.indexOf("profile.php?id=")!=-1) { ids.push(dib[q].innerHTML.substring(dib[q].innerHTML.indexOf("?id=")+4, dib[q].innerHTML.indexOf("\">П"))) } } } for(i=0;i<dib.length-1;i++) { if(dib[i].className=="pa-fld3") { dib[i].innerHTML+="%(<a target='AddVote' href='profile.php?section=fields&id="+ids[p]+"&type=plu#addVote' onclick='response(\"plu\")'>+10</a>/<a target='AddVote' href='profile.php?section=fields&id="+ids[p]+"&type=minus#addVote' onclick='response(\"minus\")'>-10</a>)" p++ } } function response(type){ if(type=='plu')typeDesc="повышен" else if(type=="minus")typeDesc="понижен" alert('Уровень предупреждения '+typeDesc+' на 10%') } if(document.URL.indexOf("#addVote")!=-1) { var type=document.URL.substring(document.URL.indexOf("&type=")+6, document.URL.length-8) var d = document.getElementsByName("form[fld3]")[0] if(type=='plu')d.value = parseInt(d.value)+10 else if(type=="minus")d.value = parseInt(d.value)-10 document.getElementsByName("update")[0].click() } } </script> <style type="text/css"> .newtext {display:none} </style> <!-- HEAD START HERE --> <style type="text/css"> <!-- body {font-family: helvetica} p {font-size: 12pt} .red {color: red} .blue {color: blue} --> </style> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: Evsikoff_Andrey --> <!-- Web Site: http://gsmevsikov.mybb.ru/ --> <!-- Begin var Memory = 0; var Number1 = ""; var Number2 = ""; var NewNumber = "blank"; var opvalue = ""; function Display(displaynumber) { document.calculator.answer.value = displaynumber; } function MemoryClear() { Memory = 0; document.calculator.mem.value = ""; } function MemoryRecall(answer) { if(NewNumber != "blank") { Number2 += answer; } else { Number1 = answer; } NewNumber = "blank"; Display(answer); } function MemorySubtract(answer) { Memory = Memory - eval(answer); } function MemoryAdd(answer) { Memory = Memory + eval(answer); document.calculator.mem.value = " M "; NewNumber = "blank"; } function ClearCalc() { Number1 = ""; Number2 = ""; NewNumber = "blank"; Display(""); } function Backspace(answer) { answerlength = answer.length; answer = answer.substring(0, answerlength - 1); if (Number2 != "") { Number2 = answer.toString(); Display(Number2); } else { Number1 = answer.toString(); Display(Number1); } } function CECalc() { Number2 = ""; NewNumber = "yes"; Display(""); } function CheckNumber(answer) { if(answer == ".") { Number = document.calculator.answer.value; if(Number.indexOf(".") != -1) { answer = ""; } } if(NewNumber == "yes") { Number2 += answer; Display(Number2); } else { if(NewNumber == "blank") { Number1 = answer; Number2 = ""; NewNumber = "no"; } else { Number1 += answer; } Display(Number1); } } function AddButton(x) { if(x == 1) EqualButton(); if(Number2 != "") { Number1 = parseFloat(Number1) + parseFloat(Number2); } NewNumber = "yes"; opvalue = '+'; Display(Number1); } function SubButton(x) { if(x == 1) EqualButton(); if(Number2 != "") { Number1 = parseFloat(Number1) - parseFloat(Number2); } NewNumber = "yes"; opvalue = '-'; Display(Number1); } function MultButton(x) { if(x == 1) EqualButton(); if(Number2 != "") { Number1 = parseFloat(Number1) * parseFloat(Number2); } NewNumber = "yes"; opvalue = '*'; Display(Number1); } function DivButton(x) { if(x == 1) EqualButton(); if(Number2 != "") { Number1 = parseFloat(Number1) / parseFloat(Number2); } NewNumber = "yes"; opvalue = '/'; Display(Number1); } function SqrtButton() { Number1 = Math.sqrt(Number1); NewNumber = "blank"; Display(Number1); } function PercentButton() { if(NewNumber != "blank") { Number2 *= .01; NewNumber = "blank"; Display(Number2); } } function RecipButton() { Number1 = 1/Number1; NewNumber = "blank"; Display(Number1); } function NegateButton() { Number1 = parseFloat(-Number1); NewNumber = "no"; Display(Number1); } function EqualButton() { if(opvalue == '+') AddButton(0); if(opvalue == '-') SubButton(0); if(opvalue == '*') MultButton(0); if(opvalue == '/') DivButton(0); Number2 = ""; opvalue = ""; } // End --> </script> <!-- HEAD END HERE --> </head> <body bgcolor="#EDEDED" text="#000000" link="#000000" topmargin="0" leftmargin="0"> <center> <!-- BODY START HERE --> <form name="calculator"> <table bgcolor="#aaaaaa" width=220> <tr><td> <table bgcolor="#cccccc" border=1> <tr><td> <table border=0 cellpadding=0> <tr><td bgcolor="#000080"><b style="color:white">Calculator</b></td></tr> <tr><td> <table width="100%" border=0> <tr><td colspan=6><input type="text" name="answer" size=30 maxlength=30 onChange="CheckNumber(this.value)"></td></tr> <tr><td colspan=6> <table border=0 cellpadding=0> <tr><td> <input type="text" name="mem" size=3 maxlength=3> <input type="button" name="backspace" class="red" value="Backspace" onClick="Backspace(document.calculator.answer.value); return false;"> <input type="button" name="CE" class="red" value=" CE " onClick="CECalc(); return false;"> <input type="reset" name="C" class="red" value=" C " onClick="ClearCalc(); return false;"> </td></tr>
Помогите, прошу! Совсем не знаю что делать!
Заранее большое спасибо!