хтмл верх
Код:
<link id="iNFpanel" rel="stylesheet" href="http://hostjs-mybb2011.narod.ru/css/change_ava.css" type="text/css"/> <script src="http://hostjs-mybb2011.narod.ru/js/change_avatar_Nic_Status.js"></script> <style type="text/css"> #pun-title .title-logo {display: none;} #pun-title table {background-image: url(http://savepic.net/3889978.png);} html { background: #e1d9b6 url(http://s003.radikal.ru/i202/1404/1b/e123327371e6.png); background-repeat: repeatxy; } body { background-color: transparent !important; background-image: url(http://savepic.net/3889978.png); background-repeat: no-repeat; } </style> <style type="text/css"> #pun-announcement h2 {display: none;} </style> <style> #pun-navlinks {text-align: center;} </style><style> #pun-ulinks {text-align: center;} </style> <script type="text/javascript"> var a =document.getElementById('pun-status').innerHTML if (a.indexOf("Гость")!=-1) {document.getElementById('pun-status').innerHTML="<div class='formal'>"+"<form id='login'"+" class='container'"+" method='post'"+" action='http://twilighter.1bb.ru/login.php?action=in'"+" onsubmit='return my_form(this)'>"+"<fieldset><legend><span>Введите ваше имя и пароль ниже</span></legend><div class='fs-box inline'>"+"<input type='hidden'"+" name='form_sent'"+" value='1' />"+"<input type='hidden'"+" name='redirect_url'"+" value='index.php' />"+"<p class='inputfield required'>"+"<label for='fld1'>Имя <em>(Обязательно)</em></label><br />"+"<span class='input'>"+"<input type='text'"+" id='fld1'"+" name='req_username'"+" size='25'"+" maxlength='25' /></span></p>"+"<p class='inputfield required'>"+"<label for='fld2'>Пароль <em>(Обязательно)</em></label><br />"+"<span class='input'>"+"<input type='password'"+" id='fld2'"+" name='req_password'"+" size='16'"+" maxlength='16' /></span></p></div></fieldset>"+"<p class='formsubmit'>"+"<input type='submit'"+" class='button'"+" name='login'"+" value='Войти' /></p></form></div>"} function my_form(the_form) { var element_names = new Object() element_names["req_username"] = "Имя" element_names["req_password"] = "Пароль" if (document.all || document.getElementById) { for (i = 0; i < the_form.length; ++i) { var elem = the_form.elements[i] if (elem.name && elem.name.substring(0, 4) == "req_") { if (elem.type && (elem.type=="text" || elem.type=="textarea" || elem.type=="password" || elem.type=="file") && elem.value=='') { alert("\"" + element_names[elem.name] + "\" это поле обязательно для заполнения в этой форме.") elem.focus() return false } } } } return true } <script language="JavaScript"> str=document.URL if(str.substring(str.lastIndexOf('/')+1)=="" || str.substring(str.lastIndexOf('/')+1)=="index.php") document.write("<style>#forum_fxx{display:none}</style>") </script> <style> #pun-title table tbody tr .title-logo-tdr {position: absolute; z-index: 1; left: 800px; top: 456px } </style> <style type="text/css"> .pa-adnote{ text-align: left;} .pa-from{ text-align: left;} .pa-reg{ text-align: left;} .pa-posts{ text-align: left;} .pa-respect{ text-align: left;} .pa-positive{ text-align: left;} .pa-sex{ text-align: left;} .pa-icq{ text-align: left;} .pa-online{ text-align: left;} .pa-age{ text-align: left;} .pa-mailagent{ text-align: left;} .pa-reg { text-align: left;} .pa-avatar, .pa-title, .pa-author { text-align: center;} .pa-time-visit{ text-align: left;} .pa-last-visit{ text-align: left;} .pa-fld1{ text-align: left;} .pa-fld2{ text-align: left;} .pa-fld3{ text-align: left;} .pa-fld4{ text-align: left;} .pa-fld5{ text-align: left;} </style> <style type="text/css"> #pun-announcement h2 {display: none} #pun-announcement .container {padding-top: 1em} </style> <style> #menu span { padding: 7px; margin-right: 5px; margin: 10px 0; width: 100px; text-decoration: none; } #menu .tabactive { color: #6E6053; background:#; } #submenu { padding: 5px; height: 300px; text-align: left; font-size: 12px; width: 420px; } .submenutext { text-align: center; background:#0; /*position:absolute;*/ width:auto; margin:0 2px; max-width: 100%; display: none; height: 294px!important; } span.menuButton { cursor:pointer; cursor:hand; } </style> <style> .category h2{ width:872px; margin:0 0px 0 0px; } </style> <style> .punbb A:link, .punbb A:visited, #pun a:hover {text-decoration: underline; !important; } </style> <style> #menu { margin-top: 9px; width: 170px;} #menu span { margin-bottom: 5px; text-align:left; display:block;} #submenu { padding: 0px; text-align: center; font-size: 12px; width: 590px;} .submenutext { display: none; height: 400px;} </style> <style type="text/css"> .post-content .lastedit {display: none;} </style>
хтмл низ
Код:
<style>.punbb .pa-avatar img {max-width:150px;height:auto;}</style> <script type="text/javascript"> //========== HTML-низ START СЕКЦИЯ ======================================// OnSmenaImage("Название Форума", new Array("Ник1", "Ник2", "Ник3", "Ник4", "Ник5", "Ник6")) OnSmenaImage("Название темы", new Array("Ник1", "Ник2", "Ник3", "Ник4", "Ник5", "Ник6")) var AvtrArr=new Array( "http://avatars.kards.qip.ru/images/avatar/41/54/21569.gif", //Ссылки на картинки Аватар "http://avatars.kards.qip.ru/images/avatar/88/35/13704.jpg", "http://avatars.kards.qip.ru/images/avatar/41/67/26433.gif", "http://avatars.kards.qip.ru/images/avatar/4e/cb/117582.jpg", "http://avatars.kards.qip.ru/images/avatar/e4/e4/58596.gif", "http://avatars.kards.qip.ru/images/avatar/ed/d7/120813.gif" //End myarray_!!Последняя ссылка без Запятой!!! ) StartNIZ(); // //======= end HTML-низ START СЕКЦИЯ =====================================// </script> <!--АВТОСОХРАНЕНИЕ--> <script type="text/javascript"> var param = (function(a) {if (a == "") return {};var b = {};for (var i = 0; i < a.length; ++i){var p=a[i].split('=');if (p.length != 2) continue;b[p[0]] = decodeURIComponent(p[1].replace(/\+/g, " "));}return b;})(window.location.search.substr(1).split('&'));var text = localStorage.getItem('topic'+param['id']);if(text) { $('#post textarea#main-reply').val(text);}$('#post textarea#main-reply').bind('keydown keypress keyup', function(e){var text = $(this).val();localStorage.setItem('topic'+param['id'], text);});$('#post').submit(function() {localStorage.removeItem('topic'+param['id']);}); </script> <!--ОТПРАВКА С КЛАВИАТУРЫ--> <script type="text/javascript"> $('#post').keydown( function(event) { if (event.which == 13 && event.ctrlKey) { document.getElementById('post').submit.click(); document.getElementById('post').reset(); } }); </script> <link rel="shortcut icon" href="http://s009.radikal.ru/i307/1109/cf/cb38d84b8233.ico" type="image/vnd.microsoft.icon"> <link rel="icon" href="http://s009.radikal.ru/i307/1109/cf/cb38d84b8233.ico" type="image/vnd.microsoft.icon"> <script type="text/javascript"> function cookCopy() {document.cookie="helper=not"} window.onunload=cookCopy function helpCss() {document.cookie="helper=letcopy" var alls=document.getElementsByTagName("body")[0].getElementsByTagName("*") var e=0 for (e=0; e<=(alls.length-1); e++) { var styl=new Array() var styl2=new Array(0) var k=0 styl[0]=alls[e] styl2.splice(0, 0, makingCss(styl[0])) k=1 while(k<=10) {styl[k]=styl[k-1].parentNode if (styl[k].nodeName=="BODY") {break} styl2.splice(0, 0, makingCss(styl[k])) k=k+1} alls[e].title=styl2.join(" ") }} function makingCss(to) {if (to.id) {if ((to.id.indexOf("forum")!=-1)||(to.id.indexOf("category")!=-1)) {if (to.className.indexOf(" ")!=-1) {var ret="."+to.className.substr(to.className.lastIndexOf(" ")+1)} else {var ret="."+to.className}} else {var ret="#"+to.id}} else if ((!to.id)&&(to.className)) {if (to.className.indexOf(" ")!=-1) {var ret="."+to.className.substr(to.className.lastIndexOf(" ")+1)} else {var ret="."+to.className}} else if ((!to.id)&&(!to.className)) {var ret=to.nodeName.toLowerCase()} return ret} </script> <script type="text/javascript"> function select_text(elem) { if(window.getSelection) { var s=window.getSelection(); if(s.setBaseAndExtent){ s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1); } else { var r=document.createRange(); r.selectNodeContents(elem); s.removeAllRanges(); s.addRange(r); } } else if(document.getSelection){ var s=document.getSelection(); var r=document.createRange(); r.selectNodeContents(elem); s.removeAllRanges(); s.addRange(r); } else if(document.selection){ var r=document.body.createTextRange(); r.moveToElementText(elem); r.select(); } } </script> <script type="text/javascript"> var div = document.getElementById('pun-main').getElementsByTagName('div'); for(x in div){ if(div[x].className=='code-box'){ div[x].getElementsByTagName('strong')[0].innerHTML = '<a href="#" onclick="select_text(this.parentNode.parentNode.childNodes[1].getElementsByTagName(\'pre\')[0]); return false;">Выделить код</a>'; } } </script> <style type="text/css"> .punbb .post-links ul{ background-image: url(); } </style> <div align=center><a href="#" onclick=" obj=this.parentNode.childNodes[1].style; tmp=(obj.display!='block') ? 'block' : 'none'; obj.display=tmp; return false;"> <img src="http://savepic.net/3900085.png"></a><div style="display: none"> <br>Наш баннер: <br><a href="" target="_blank"><img src="http://s39.radikal.ru/i083/1109/9f/719e7c47b72e.gif" title="Marauders: Pumpkin juice!" /></a> <br>Ваши: <br> <!-- "Graffiti Decorations (R) Banner Start" --> <a href="http://graffitistudio.ru" title="Сайт добавлен в список бесплатной раскрутки Graffiti Decorations (R) Site Promoter"><img border="1" src="http://graffitistudio.ru/banners/banner2.gif" width="100" height="100" alt="Graffiti Decorations(R) Studio (TM) Site Promoter"></a> <!-- "Graffiti Decorations (R) Banner End " --> <!-- begin of Top100 code --> <br><script language="JavaScript"> d = new Date(); var m = d.getTime(); m=m+'&url='; m=m+self.location; var a='<a title="Каталог фэнтези сайтов и банерообменная система Палантир" href="http://palantir.in/?from=11907&rand='+m+'" target="_blank"><img alt="Каталог фэнтези сайтов и банерообменная система Палантир" src="http://palantir.in/showban2.php?type=1&from=11907&rand=' + m; a=a+'" width="88" height="31" border="0"></a>'; document.write(a); </script> <a target="_blank" href="http://fabulas.rolka.su/"><img src="http://i038.radikal.ru/1109/40/3a1b609da064.gif" ></a> <a href="http://latina.f-rpg.ru"><img src="http://img.ii4.ru/images/2011/09/11/142051_banner.gif" border="0"></a> <a href="http://marauderslife.mybb.ru/"target="_blank" title="Marauders: One hundred steps back" ><img src="http://savepic.org/2150663m.jpg"> </a> <a href="http://gorod12.rusff.me/" title="Городская мистика" target=_blank> <img src="http://imgs.su/tmp/2012-06-05/1338916281-421.jpg" border="0" alt="Послемрак"></a> <a href="http://portal.mybb.kz"><img src="http://s1.uploads.ru/i/YTmFJ.gif" title="Один шаг"></a> <a href="http://anotherstory.rolebb.com/" target="_blank"><img src="http://s1.uploads.ru/i/ZIur6.png" border="0" alt="Another Story"></a> <a href="http://mfanarutoshippuuden.mybb.ru/"><img src="http://i011.radikal.ru/1402/03/be7a7d16c89d.gif" width=88 height=31 border=0></a> <a href="http://multymangaanime.mybb.ru/"><img src="http://i047.radikal.ru/1402/f7/66a70e2fc23a.gif" width=88 height=31 border=0></a> <a href="http://nightchildrengame.rusff.me/" target=_blank><img src="http://fotohost.kz/images/2014/03/19/JkZmx.jpg" width="88" height="31" alt="Отродье Каина: Воздаяние" border="0"></a> <a href="http://8fairytale.mybb.ru/"><img src="http://i.pixs.ru/storage/1/4/4/Bannygif_5500210_11666144.gif" width=88 height=31 border=0 alt="Восьмая Сказка"></a> <a href="http://zephyr.f-rpg.ru/"><img src="http://s8.uploads.ru/q3zX5.png" alt="Зефир, помощь ролевым" title="Зефир, помощь ролевым" /></a> <br> </div> <script language="JavaScript"> function showLDiv() { if( document.getElementById("loginDiv").style.display == 'none' ) document.getElementById("loginDiv").style.display = '' else document.getElementById("loginDiv").style.display = 'none' return false; } function check_form() { if(document.forms["form_login"].req_username.value=='' || document.forms["form_login"].req_username.value=='') { alert('Оба поля обязательны для заполнения'); return false; } return true } url=document.URL if(url.indexOf("login.php")==-1 && document.getElementById('navlogin')){ document.getElementById('navlogin').innerHTML = "<a href=\"login.php\" onclick=\"return showLDiv()\"><span>Войти</span></a>" login = "<center><div id=loginDiv style=\"display: none; \">" login += "<form id=form_login name=login method=post action=\"login.php?action=in\" onsubmit=\"return check_form()\">" login += "<fieldset>" login += "<legend>Введите ваше имя и пароль ниже</legend>" login += "<input type=hidden name=form_sent value=1 />" login = login + "<input type=hidden name=redirect_url value="+document.URL+" />" login += "<br><table width=\"100%\" align=left>" login += "<tr><td align=left><b>Имя :</b></td><td align=left><input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"30\" maxlength=\"25\" /></td></tr>" login += "<tr><td align=left><b>Пароль :</b></td><td align=left><input type=\"password\" id=\"fld2\" name=\"req_password\" size=\"30\" maxlength=\"16\" /></td></tr>" login += "</table>" login += "</fieldset>" login += "<p class=formsubmit><input type=submit class=button name=login value=\"Войти\" /><br /> <a href=\"register.php\">Еще не зарегистрированы?</a><br /> <a href=\"login.php?action=forget\"><color=black>Забыли пароль?</color></a></p>" login += "</form>" login += "</div></center>" document.getElementById('pun-navlinks').innerHTML += login }</script> <!--Спойлер - контейнер--> <script type="text/javascript"> $(document).ready(function(){ $('.splLink').click(function(){ $(this).parent().children('div.splCont').toggle('normal'); return false; }); }); </script> <div class="main" id="spo_all"><div class="category" id="spo_top" onclick="obj=this.parentNode.childNodes[1].style; tmp=(obj.display!='block') ? 'block' : 'none'; obj.display=tmp; return false;"> </div> <style type="text/css"> .category h2 span{ display: none; } </style> <script type="text/javascript"><!--Своя картинка в каждую категорию --> $(document).ready(function(){ myarray=new Array( "Welcome!", "http://savepic.net/3929781.png", "Questionnaires", "http://savepic.net/3918517.png", "For magicians", "http://savepic.net/3919541.png", "Admins'", "http://savepic.net/3923637.png", "Game", "http://savepic.net/3920565.png", "Entertainment", "http://savepic.net/3921589.png", "Advertisement", "http://savepic.net/3910325.png", "Archive", "http://savepic.net/3911349.png", "Статистика форума", "http://savepic.net/3908277.png") $("#pun-index div.category h2,#pun-index #pun-stats h2").each(function (i) { for(q=0;q<myarray.length;q++){ var cssObj = { "height":"50px", "background-color": "transparent", "background-image":"url("+myarray[q+1]+")", "background-position":"center", "background-repeat":"no-repeat", "font-color":"transparent", } if($(this).children("span").text()==myarray[q])$(this).css(cssObj); q++} }); }); </script> <style> .post-author {text-align: center;} </style> <style type="text/css"> .radius { background: #fc0; padding: 7px; margin-bottom: 10px; } </style> <style type="text/css"> .radius { background: #fc0; padding: 7px; margin-bottom: 10px; } </style> <style>.Myimge {position:absolute;margin-top:-20px;cursor:pointer;}</style> <script type="text/javascript"> PiarNik="Owl"; PiarPas="0000"; var L="<div id=\"PR_loginDiv\" style=\"display:none;\">\ <form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\ <fieldset>\ <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\ <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\ <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\ <input type=\"submit\" class=\"button\" name=\"login\"/>\ </fieldset>\ </form>\ </div>\ <span id=spMyimg><img class=\"Myimge\" title=\"Быстрый вход для 'Пиарщиков'\" onclick=\"PiarIn()\" src=\"http://s016.radikal.ru/i337/1112/79/66bf3957306a.png\" onmouseover=\"this.src='http://s40.radikal.ru/i088/1112/10/cf73a8fcdb9d.png' \" onmouseout=\"this.src='http://s016.radikal.ru/i337/1112/79/66bf3957306a.png'\" /></span>"; if($("#navlogin").html()!=null){ $("#navlogin").append(L) //navlogin $("#PR_loginDiv #fld1").val(PiarNik) $("#PR_loginDiv #fld2").val(PiarPas) function PiarIn () {$("#PR_loginDiv input[type='submit']").click();} } </script> <script type="text/javascript"> if ((document.URL.indexOf("viewtopic.php") != -1) || (document.URL.indexOf("post.php") != -1) || (document.URL.indexOf("edit.php") != -1)) { var repl = document.getElementById("main-reply"); var submit = document.getElementsByTagName("p") for (var i=0; i<submit.length; i++){ if (submit[i].className == "formsubmit") submit[i].innerHTML = "<span id=\"plng\" style=\"border: 1px solid; padding: 2px 3px;\">Написано символов: <b>0</b></span>" + submit[i].innerHTML; } repl.onkeyup = repl.onkeydown = repl.onfocus = repl.onblur = function(){ document.getElementById("plng").innerHTML ="Написано символов: <b>" + (repl.value.length) + "</b>"; }} </script>