Мини-форум дикого Lion`a...))

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Мини-форум дикого Lion`a...)) » Старье... » Скрипты "были..."


Скрипты "были..."

Сообщений 1 страница 9 из 9

1

Код:
<script LANGUAGE="JavaScript" FPTYPE="dynamicanimation">
<!--
  // If you want to change this script, you must also make the following
  // changes so that FrontPage will not overwrite your new script.
  // In the script tag, change type="dynamicanimation" to type="mydynamicanimation"
  // In the first script statement, change "dynamicanimation" to "mydynamicanimation"
  // Throughout the HTML content, change dynamicanimation= to mydynamicanimation=
  // Change function dynAnimation to function mydynAnimation
  // In the body tag, change onload="dynAnimation()" to onload="mydynAnimation()"
  dynamicanimAttr = "dynamicanimation"
  animateElements = new Array()
  currentElement = 0
  speed = 0
  stepsZoom = 8
  stepsWord = 18
  stepsFly = 12
  stepsSpiral = 16
  steps = stepsZoom
  step = 0
  outString = ""
  function dynAnimation()
  {
    var ms = navigator.appVersion.indexOf("MSIE")
    ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
    if(!ie4)
    {
      if((navigator.appName == "Netscape") &&
         (parseInt(navigator.appVersion.substring(0, 1)) >= 4))
      {
        for (index=document.layers.length-1; index >= 0; index--)
        {
            layer=document.layers[index]
            if (layer.left==10000)
                layer.left=0
        }
      }
      return
    }
    for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
    {
      el = document.all[index]
      animation = el.getAttribute(dynamicanimAttr, false)
      if(null != animation)
      {
        if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
        {
          ih = el.innerHTML
          outString = ""
          i1 = 0
          iend = ih.length
          while(true)
          {
            i2 = startWord(ih, i1)
            if(i2 == -1)
              i2 = iend
            outWord(ih, i1, i2, false, "")
            if(i2 == iend)
              break
            i1 = i2
            i2 = endWord(ih, i1)
            if(i2 == -1)
              i2 = iend
            outWord(ih, i1, i2, true, animation)
            if(i2 == iend)
              break
            i1 = i2
          }
          document.all[index].innerHTML = outString
          document.all[index].style.posLeft = 0
          document.all[index].setAttribute(dynamicanimAttr, null)
        }
        if(animation == "zoomIn" || animation == "zoomOut")
        {
          ih = el.innerHTML
          outString = "<SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\">"
          outString += ih
          outString += "</SPAN>"
          document.all[index].innerHTML = outString
          document.all[index].style.posLeft = 0
          document.all[index].setAttribute(dynamicanimAttr, null)
        }
      }
    }
    i = 0
    for (index=document.body.sourceIndex; index < document.all.length; index++)
    {
      el = document.all[index]
      animation = el.getAttribute(dynamicanimAttr, false)
      if (null != animation)
      {
        if(animation == "flyLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
        }
        else if(animation == "flyRight")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = 0
        }
        else if(animation == "flyTop" || animation == "dropWord")
        {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyBottom")
        {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "flyTopLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyTopRight" || animation == "flyTopRightWord")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "flyBottomLeft")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
        {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
        }
        else if(animation == "spiral")
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
        }
        else if(animation == "zoomIn")
        {
          el.style.posLeft = 10000
          el.style.posTop = 0
        }
        else if(animation == "zoomOut")
        {
          el.style.posLeft = 10000
          el.style.posTop = 0
        }
        else
        {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
        }
        el.initLeft = el.style.posLeft
        el.initTop = el.style.posTop
        animateElements[i++] = el
      }
    }
    window.setTimeout("animate();", speed)
  }
  function offsetLeft(el)
  {
    x = el.offsetLeft
    for (e = el.offsetParent; e; e = e.offsetParent)
      x += e.offsetLeft;
    return x
  } 
  function offsetTop(el)
  {
    y = el.offsetTop
    for (e = el.offsetParent; e; e = e.offsetParent)
      y += e.offsetTop;
    return y
  } 
  function startWord(ih, i)
  {
    for(tag = false; i < ih.length; i++)
    {
      c = ih.charAt(i)
      if(c == '<')
        tag = true
      if(!tag)
        return i
      if(c == '>')
        tag = false
    }
    return -1
  }
  function endWord(ih, i)
  {
    nonSpace = false
    space = false
    while(i < ih.length)
    {
      c = ih.charAt(i)
      if(c != ' ')
        nonSpace = true
      if(nonSpace && c == ' ')
        space = true
      if(c == '<')
        return i
      if(space && c != ' ')
        return i
      i++
    }
    return -1
  }
  function outWord(ih, i1, i2, dyn, anim)
  {
    if(dyn)
      outString += "<SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\">"
    outString += ih.substring(i1, i2)
    if(dyn)
      outString += "</SPAN>"
  }
  function animate()
  {
    el = animateElements[currentElement]
    animation = el.getAttribute(dynamicanimAttr, false)
    step++
    if(animation == "spiral")
    {
      steps = stepsSpiral
      v = step/steps
      rf = 1.0 - v
      t = v * 2.0*Math.PI
      rx = Math.max(Math.abs(el.initLeft), 200)
      ry = Math.max(Math.abs(el.initTop),  200)
      el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
      el.style.posTop  = Math.ceil(-rf*Math.sin(t)*ry)
    }
    else if(animation == "zoomIn")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
      el.style.posLeft = 0
    }
    else if(animation == "zoomOut")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%"
      el.style.posLeft = 0
    }
    else
    {
      steps = stepsFly
      if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
        steps = stepsWord
      dl = el.initLeft / steps
      dt = el.initTop  / steps
      el.style.posLeft = el.style.posLeft - dl
      el.style.posTop = el.style.posTop - dt
    }
    if (step >= steps) 
    {
      el.style.posLeft = 0
      el.style.posTop = 0
      currentElement++
      step = 0
    }
    if(currentElement < animateElements.length)
      window.setTimeout("animate();", speed)
  }
//-->
</script></head>

<body onload="dynAnimation()">

<p align="center" dynamicanimation="dropWord"
style="position: relative !important; left: 10000 !important"><b><FONT SIZE="3px"><font face="Arial Black" 
color="#FF0000"> Д o б р o &nbsp;&nbsp; п о ж а л о в а т ь &nbsp;&nbsp; н а &nbsp;&nbsp; ф о р у м &nbsp;&nbsp; L i o n &nbsp;&nbsp; M e y b a l &nbsp;&nbsp; S n e g o p a r d !</font></font></b></p>
<body bgcolor=gold>

0

2

<script type="text/javascript">
function helpCss()
{document.getElementById('copier').style.display="block"
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 copyPaste(event)
{
if (navigator.appName=="Netscape")
{document.getElementById('copier').value=event.target.title
document.getElementById('copier').select()}
else
{document.getElementById('copier').value=event.srcElement.title
document.getElementById('copier').select()
CopiedTxt = document.selection.createRange()
CopiedTxt.execCommand("Copy")}
}
</script>
<BODY ondblclick='copyPaste(event)' >
<textarea rows="4" cols="50" id="copier" style="display: none;"></textarea>

<input id="csshelper" type="button" value="Помощь в css" onclick="helpCss()" />

0

3

<script language="JavaScript">
function showLDiv()
{
if(  document.getElementById("loginDiv").style.display == 'none' )
     document.getElementById("loginDiv").style.display = ''
else document.getElementById("loginDiv").style.display = 'none'

}
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='javascript:  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+="<table><tr><td width='75%'>"
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+="</td><td width='25%'>"
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\">Забыли пароль?</a><br />"
login+="<a href='javascript: showLDiv();'>Cкрыть</a></p>"
login+="</td></tr></table>"
login += "</form>"
login += "</div></center>"
login += "</form>"

login += "</div></center>"

document.getElementById('pun-navlinks').innerHTML += login
}
</script>

0

4

28 АПРЕЛЯ

верх:

<head>
<link rel="shortcut icon" href="http://lion.5bb.ru/uploads/lion/2_45ya_L[1].gif">
</head>

<style  type="text/css">
#pun-main th {border-top-style: solid; border-color: red; border-top-width: 2px;}
tr#forum_f95, tr#forum_f94, tr#forum_f117, tr#forum_f110, tr#forum_f92, tr#forum_f107, tr#forum_f40, tr#forum_f115, tr#forum_f96, tr#forum_f76, tr#forum_f119, tr#forum_f85, tr#forum_f113, tr#forum_f102, tr#forum_f77, tr#forum_f98{display: none;}

a:hover{text-decoration:none;}
a{text-decoration:none; }
</style>

<style type="text/css">

#pun-main .fs-box table {background-color:#646464;}

.punbb A:link, .punbb A:visited {text-decoration: none;}
.punbb A:hover {text-decoration: none;}

#pun-stats .container {text-align: center; background-color: transparent !important;font-weight: bold;color :#EE0000;font-size:11px;}/*статистика*/

#html-header {display: none;}
.usertable table .tc2, .usertable table .tc3 {color: #000000 !important;}
.punbb {border-style: none none none none;}
#pun-main .category .tcl a:hover {color: white!important;}
#pun-main .forum .tc2, #pun-main .forum .tc3 {color: black;}
#pun-main .category table {background-image: url(http://lion.5bb.ru/uploads/lion/image_2 … nd_001.jpg);
filter:alpha(opacity=130, finishopacity=100, style=1, startx=0, finishx=100); background-color: #363636;}
#pun-main .category .tcl, #pun-main .category, #pun-main .category td, #pun-category1 tbody {background-color: transparent;}
#pun {background-color: transparent; width: 96%;}/*ширина основной таблицы, прозрачный фон под ней*/

#pun-title h1 span {display : none;}
#pun .tcr {color:#FFFF00; font-weight: bold; font-size: 12px;} /*последний столбец*/

#pun-main .post-author {font-weight: bold;}/*профиль пользователя*/

.pa-reg {font-size: 7.5pt;}/*шрифт в профиле, зареген*/
.pa-from {font-size: 7.5pt;}/*шрифт в профиле, днюха*/

#pun .tcr a:link, #pun .tcr a:visited {font-weight: bold;color:#FF0033;}
#pun .tcr a:hover {font-weight: bold;color:white;font-size: 13px;}/*Ссылка.Сегодня. ПС*/

#pun .tc2{color:#FFFFFF; font-weight: bold; font-size: 13px;}
#pun .tc3{color:#FFFFFF; font-weight: bold; font-size:13px;}

#pun th, #pun th.tcr, #pun th.tc2, #pun th.tc3{background-color: transparent;color:#000000;text-align: center;font-size:11px;}/*строка тем*/

#pun h2 {text-align: center; font-weight:  bold;color:white;}
#pun h2 {background-color: transparent !important;}
#pun h2 {background-image: none !important;}
/*название категории, прозрачность*/

#pun-crumbs1 p.container {
color: white; background-color: transparent !important;}
/*имя форума верх*/

#pun title, #pun-title table {background-image: none !important;}
#pun title, #pun-title table {border-top-width: 0 !important;}

#pun title, #pun-title table {background-color: transparent !important;}
#pun-title h1 {background-image : url(http://lion.5bb.ru/uploads/lion/image_2_sss.gif);
background-repeat : no-repeat;
}/*лого*/

#pun-title {height: 80px;}
#pun-title table  {position: relative; top: 10px ; left: 5px ; z-index: 100 !important; height: 0px;}

HTML, BODY {
background-image: url("http://lion.5bb.ru/uploads/lion/2_f652.jpg");
background-attachment: fixed;!important;}/*фон*/

.item1 {color:#FFFFFF;font-weight: bold;font-style: italic;}
.item2 {color:#FFFFFF;font-weight: bold;font-style: italic;}/*привет, время последнего визита*/
#pun-ulinks .container {text-align: center;}/*ПОД меню навигации*/

#pun .tcl a:link, #pun .tcl a:visited {color:#FF0033;}
#pun .tcl a:hover {color:red;}
/*левый столбец, ссылки*/

#pun td {border-color : red;}/*рамка внутренняя*/
.punbb .container {border-color : red;} /*рамка снаружи*/

#pun th, #pun th.tcr, #pun th.tc2, #pun th.tc3{
color: white; background-color : #363636; background-image : url(http://lion.5bb.ru/uploads/lion/2_bla44755ck18.jpg);
}/*темы*/

#pun-main .post-links li {color : red}.
#pun-main .formal textarea {color : red}

#pun .tcl {color : yellow}

#pun-main .pagelink,  #pun-main .postlink a:link{color : yellow}

.punbb A:link, .punbb A:visited {color:#FF0000;}
.punbb A:hover {color: #FFFFFF;font-weight: bold;}/*все ссылки*/

#pun-main .forum .tc2 {color: white; font-weight: bold; font-size:13px;}
#pun-main .forum .tc3 {color: white; font-weight: bold; font-size:13px;}
#pun-main .forum .tcl {color:white; font-weight: bold; font-size:13px;}
#pun-main .forum .tcr {color: white; font-weight: bold; font-size:13px;}
/*подфорумы...*/
.post-content{color: black;} /*текст сообщения...*/

#pun-status .container {
color: #FFFFFF; background-color: transparent !important;}/*приветствие...*/

#pun-stats li.item1, #pun-stats li.item2  {color:#000000;}/*всего тем, сообщений...*/
#pun-main .forum .tcl a:hover {color:#ffffff;}
#pun-main .forum .tcr a:link, a:visited {color:red;}
#pun-main .forum .tcr a:hover {color:#ffffff;}/*ссылки в подтемах...*/

#pun-announcement .container {background-color: transparent;}/*объява...*/

#pun-main .post-author {color:#FFFF00;background-image : url(http://lion.5bb.ru/uploads/lion/2_f652.jpg);
}/*профиль...*/

#pun-stats li.item1 {color :#FFFF00;}
#pun-stats li.item2 {color :#FFFF00;}
#pun-stats li.item3 {color :#FFFF00;}

#pun-ulinks .container {background-color: transparent;!important;}/*строка под меню*/

#pun-navlinks .container {color:#FFFFFF; background-color: transparent;!important; font-weight: bold; text-align: center;}/*осн. меню*/

#pun-main .forum table {background-image: url(http://lion.5bb.ru/uploads/lion/image_2 … nd_001.jpg);}
#pun-main .forum .tcl, #pun-main .forum, #pun-main .forum td, #pun-forum1 tbody {background-color: transparent;}/*подфорум рис.*/

#pun .quote-box {background-color :#FFFFFF;color :#000000;}

.post-content {font-size: 13px;}/*весь шрифт*/

#pun h2 {text-align: center; font-weight:  bold;color:white;}
#pun h2 {background-color: transparent !important;}
#pun h2 {background-image: none !important;}
/*название категории, прозрачность*/

#pun-main .formal textarea {background-color:#f2f2f2; color:#000000;}/*поле для сообщения*/

#pun-main .post-body {background-color :#f2f2f2;}/*Фон  сообщения*/
.post-content {color :#000000;}

#pun-navlinks .container {background-image: none !important;}

#pun-navlinks .container {background-color: transparent !important;}

</style>

<style type="text/css">
#pun-stats ul.container {
background: transparent url(http://lion.5bb.ru/uploads/lion/2_11.gif) no-repeat 2px 10px;
background-repeat: no-repeat;
padding-left: 60px;
}
</style>

0

5

низ:

Код:
<script type="text/javascript">
if (document.URL.indexOf("viewforum.php?id=93")!=-1)
{makesubF("Мужской уголок", 'http://lion.5bb.ru/viewforum.php?id=95', "Соответственно все для мужчин... Мнение девушек, также в этой теме приветствуется!", 0, "<a href='http://lion.5bb.ru/profile.php?id=66'>Мудрый_примудрый</a>")
makesubF("Женский уголок...", 'http://lion.5bb.ru/viewforum.php?id=94', "Все для девушек и только для них...", 1, "<a href='http://lion.5bb.ru/profile.php?id=66'>Мудрый_примудрый</a>, <a href='http://lion.5bb.ru/profile.php?id=73'>siili</a>")
makesubF("Раздел о сексе...", 'http://lion.5bb.ru/viewforum.php?id=117', "Специализированный раздел для тем про это...", 2, "<a href='http://lion.5bb.ru/profile.php?id=66'>Мудрый_примудрый</a>, <a href='http://lion.5bb.ru/profile.php?id=73'>siili</a>")}


else if  (document.URL.indexOf("viewforum.php?id=118")!=-1)
{makesubF("Европейский футбол...", 'http://lion.5bb.ru/viewforum.php?id=110', "Чемпионат Испании..., Англии, Италии, Германии, Франции и других европейских стран... Новости команд....", 0, "<a href='http://lion.5bb.ru/profile.php?id=66'>Мудрый_примудрый</a>, <a href='http://lion.5bb.ru/profile.php?id=188'>exe</a>")

makesubF("Футбол России", 'http://lion.5bb.ru/viewforum.php?id=92', "Все о футболе России... Новости, Кубки, команды: ЦСКА, Локомотив, Спартак, Зенит, Крылья Советов... Футбол и команды дружественных нам стран: СНГ и не только...", 1, "<a href='http://lion.5bb.ru/profile.php?id=66'>Мудрый_примудрый</a>, <a href='http://lion.5bb.ru/profile.php?id=188'>exe</a>")

makesubF("Все, кроме футбола", 'http://lion.5bb.ru/viewforum.php?id=40', "Устали от футбола? Больше любите другие виды спорта? Тогда это для Вас... Ну и для тех, кто любит не только футбол...", 2, "<a href='http://lion.5bb.ru/profile.php?id=66'>Мудрый_примудрый</a>, <a href='http://lion.5bb.ru/profile.php?id=188'>exe</a>")

makesubF("Тотализатор", 'http://lion.5bb.ru/viewforum.php?id=107', "Если вы любите футбол и умеете, хоть сколько-нибудь угадывать результаты, то вам сюда... Делаем ставки!!", 3, "<a href='http://lion.5bb.ru/profile.php?id=66'>Мудрый_примудрый</a>, <a href='http://lion.5bb.ru/profile.php?id=188'>exe</a>")}


else if  (document.URL.indexOf("viewforum.php?id=44")!=-1)

{makesubF("Стихи…", 'http://lion.5bb.ru/viewforum.php?id=115', " Подфорум стихов Наши стихи, стихи великих поэтов и не только... В общем, все самое любимое в этом жанре...", 0, "Ромашка")

makesubF("Проза…", 'http://lion.5bb.ru/viewforum.php?id=96', "Вся проза в одном разделе...! Рассказы, истории, известных людей и нашего собственного сочинения...", 1, "Ромашка")

makesubF("Музыка…", 'http://lion.5bb.ru/viewforum.php?id=76', " Музыкальный рздел... Мини-фан клубы и многое другое...", 2, "Ромашка")

makesubF("Кино", 'http://lion.5bb.ru/viewforum.php?id=119', "Наше любимое кино... Актеры и актриссы... Новинки, отечественного и иностранного производства...", 3, "Ромашка")

makesubF("Готика…", 'http://lion.5bb.ru/viewforum.php?id=85', "Готика… И все что с нею связано…", 4, "Ромашка")}


else if  (document.URL.indexOf("viewforum.php?id=46")!=-1)

{makesubF("Софт и програмное обеспечение...", 'http://lion.5bb.ru/viewforum.php?id=102', "Раздел посвещен софту... Но тут и новости высоких технологий, советы по windows, ПК и сотовых телефонов, информация о вирусах и как с ними бороться...", 0, "Lexx")

makesubF("Советы по HTML и не только...", 'http://lion.5bb.ru/viewforum.php?id=77', "HTML и все что с ним связано... Советы и рекомендации...", 1, "Lexx")

makesubF("Дизайн Mybb форумов + скрипты...", 'http://lion.5bb.ru/viewforum.php?id=98', "Хотите украсить свой форум, но не знаете как? Тогда вам сюда! Также тут можно найти вопросы технического характера по форумам Mybb...", 2, "Lexx")}


function makesubF(subf, addf, descf, posi, mods)
{var sub1=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(posi)
sub1.className="isubf"
var im=sub1.insertCell(0)
im.innerHTML= "<div class='intd'>"+"<div class='icon'><!-- --></div>"+"<div class='tclcon'><h3>"+"<a href='"+addf+"'>"+subf+"</a></h3>"+descf+"<br />"+"<span class='modlist'>"+"(Модераторы: "+mods+")</span></div></div>"
im.className="tcl"
im.colSpan="4"}
</script>



<script type="text/javascript">
if (document.URL.indexOf("viewforum")!=-1)
{ if (document.getElementById('pun-main').getElementsByTagName("table")[0].rows[0].className=="isubf")
{var normal=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(0)
var normal1=normal.insertCell(0)
normal1.innerHTML="<b>Подфорумы</b>"
normal1.width="50%"
var normal2=normal.insertCell(1)
normal2.width="10%"
var normal3=normal.insertCell(2)
normal3.width="10%"
var normal4=normal.insertCell(3)
normal4.width="30%"
}}
</script>

<script type="text/javascript">
if (document.title.indexOf(" - Форум")!=-1)
{
makeSubforum('forum_f93', 'forum_f95')
makeSubforum('forum_f93', 'forum_f94')
makeSubforum('forum_f93', 'forum_f117')
makeSubforum('forum_f118', 'forum_f110')
makeSubforum('forum_f118', 'forum_f92')
makeSubforum('forum_f118', 'forum_f107')
makeSubforum('forum_f118', 'forum_f40')
makeSubforum('forum_f44', 'forum_f115')
makeSubforum('forum_f44', 'forum_f96')
makeSubforum('forum_f44', 'forum_f76')
makeSubforum('forum_f44', 'forum_f119')
makeSubforum('forum_f44', 'forum_f85')
makeSubforum('forum_f46', 'forum_f102')
makeSubforum('forum_f46', 'forum_f77')
makeSubforum('forum_f46', 'forum_f98')
}


function makeSubforum(ff, sf)
{
{document.getElementById(ff).getElementsByTagName("td")[1].innerHTML=(document.getElementById(ff).getElementsByTagName("td")[1].innerHTML*1)+(document.getElementById(sf).getElementsByTagName("td")[1].innerHTML*1)
document.getElementById(ff).getElementsByTagName("td")[2].innerHTML=(document.getElementById(ff).getElementsByTagName("td")[2].innerHTML*1)+(document.getElementById(sf).getElementsByTagName("td")[2].innerHTML*1)
if ((document.getElementById(ff).className.indexOf("inew")==-1)&&(document.getElementById(sf).className.indexOf("inew")!=-1))
{document.getElementById(ff).className=document.getElementById(ff).className+" inew"}
var date1=document.getElementById(ff).innerHTML.substr(document.getElementById(ff).innerHTML.toLowerCase().lastIndexOf("</a>")+8)
var date2=document.getElementById(sf).innerHTML.substr(document.getElementById(sf).innerHTML.toLowerCase().lastIndexOf("</a>")+8)
if (transtoDate(date2)>transtoDate(date1))
{document.getElementById(ff).getElementsByTagName("td")[3].innerHTML=document.getElementById(sf).getElementsByTagName("td")[3].innerHTML}}
}

function transtoDate(oi)
{var d1=new Date()
d1.setHours(oi.substr(oi.indexOf(" ")+1, 2), oi.substr(oi.indexOf(":")+1, 2), oi.substr (oi.lastIndexOf(":")+1, 2))
if (oi.substr(0, 5)=="Сегод")
{var resd=d1.getTime()}
else if (oi.substr(0, 5)=="Вчера")
{var resd=(d1.getTime()-(1000*60*60*24))}
else 
{d1.setFullYear(oi.substr(0, 4), (oi.substr(oi.indexOf("-")+1, 2))-1, oi.substr(oi.indexOf("-")+3, 2))
var resd=d1.getTime()}
return resd}

</script>




<TABLE class=page cellSpacing=0 cellPadding=6 width="100%" align=center border=0>
<TBODY>
<TR>
<TD align=left>
<H6>  &nbsp; &nbsp; © Все права естесственно защищены  &nbsp;2006-2007 &nbsp; &nbsp;» &nbsp;  Lion 76-76-355</H6></TD>
<TD class=tfoot align=right>
<DIV class=smallfont><STRONG><A title="Если вы не знаете как работает форум" target="_blank" href="http://lion.5bb.ru/help.php?action=administration">Помощь по форуму</A> &nbsp;» &nbsp; <A title="Перевод на форума на английския язык" target="_blank" href="http://www.translate.ru/url/tran_url.asp?lang=ru&url=http%3A%2F%2Flion.5bb.ru&direction=re&template=General&cp1=NO&cp2=NO&autotranslate=on&transliterate=on&psubmit2.x=50&psubmit2.y=17">English</A> &nbsp;» &nbsp; <A title=Улыбнуться  target="_blank" href="http://rwr.ru/exploder/?url=www.lion.5bb.ru">Посмеяццо</A> &nbsp; »  &nbsp;<A title=Вверх  href="http://lion.5bb.ru/#top">Вверх</A> </STRONG></DIV></TD></TR></TBODY></TABLE>

0

6

<span style="color:purple">5 мая - Делаем то же самое на 4bb.ru. Симптомы те же ;-)</span>

0

7

<a title="Показать объявление" onclick="obj=this.parentNode.childNodes[1].style; tmp=(obj.display!='block') ? 'block' : 'none'; obj.display=tmp; return false;" class="tagcutflag"><b><center>Показать объявление</center></b></br></a><div class="tagcut" style="display: none">

0

8

<script language=JavaScript src="http://pics.rbc.ru/js/rbc_topnews.js"></script>
<script>
print_news_topnews(5,true);
</script>

0

9

#pun-main .category table {background-image: url(http://keep4u.ru/imgs/b/071213/5e/5e0d2 … f9c76e.jpg);
filter:alpha(opacity=130, finishopacity=100, style=1, startx=0, finishx=100); background-color: #363636!important;}
#pun-main .category .tcl, #pun-main .category .tc2, #pun-main .category .tc3, #pun-main .category .tcr, #pun-main .category .tcl, #pun-main .category, #pun-main .category td, #pun-category1 tbody {background-image: none !important;background-color: transparent !important;}

0


Вы здесь » Мини-форум дикого Lion`a...)) » Старье... » Скрипты "были..."