Просмотр файла wwphpmaster2.00_released/www.phpedited.com/panel/panel3/panel2.txt

Размер файла: 4.68Kb
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
  <TBODY>
  <TR>
    <TD align=middle>
<!-- START of main menu -->
      <SCRIPT language=JavaScript>
<!--
menusSub="<A HREF='pgs/dwld.php' class=cool>Скачать</A> | <A HREF='pgs/fq.php' CLASS='cool'>FAQ</A>"
imageSub="<A HREF='fm/index.php' CLASS='cool'>Форум</A> | <A HREF='gb/index.php' CLASS='cool'>Гостевая</A>"
miscSub="<A HREF='usr/index.php' CLASS='cool'>Личный кабинет</A> | <a href='tmpl/exit.php' class=cool>Выход [Exit]</A>"
tutorialSub="<A HREF='pgs/rgstr.php' CLASS='cool'>Регистрация</A>"
dhgSub="<A HREF='pgs/usbr.php' CLASS='menuClass'>Наши кнопки</A>"
//-->
</SCRIPT>

      <TABLE cellSpacing=0 cellPadding=2 width="100%" border=0><TBODY>
        <TR>
          <TD class=menuClass2 align=middle><FONT face=VERDANA size=2>
<A class=ss onmouseover=FadeIn(menusSub) href="javascript://">Контент</A> | 
<A class=ss onmouseover=FadeIn(imageSub) href="javascript://">Общение</A> | 
<?php
        if ($_SESSION)
{    
echo "<A class=ss onmouseover=FadeIn(miscSub) href='javascript://'>Меню юзера</A> | ";
}
else
{
echo "<A class=ss onmouseover=FadeIn(tutorialSub) href='javascript://'>Меню юзера</A> | ";
}
// <A class=ss onmouseover=FadeIn(ricSub) href="http://www.ricocheting.com/">4444</A> | 
?>

<A class=ss onmouseover=FadeIn(dhgSub) href="http://angelfire.com/tn2/JavaGent/">По сайту</A></FONT></TD></TR>
        <TR>
          <TD>
            <SCRIPT language=JavaScript>
<!--
fadeFace="verdana";
fadeSize="2";
fadeWidth="100%";
fadeHeight=[1, "lines"] // You can make the second string "lines" or "px".
fadeSpeed=35; // Lower the number the faster, in milliseconds.
fadePause=250; // The length of the pause when switching messages, in milliseconds.

// both colors must be the same length to work correctly
colors=["#330099", "#3300CC", "#3300FF", "#3333FF", "#3366FF", "#3399FF", "#33CCFF", "#33FFFF", "#FFFFFF"]
linkcolors=["#330099", "#3300CC", "#3300FF", "#3333FF", "#3366FF", "#3399FF", "#33CCFF", "#33FFFF", "#FFFFFF"]

///////////// NO MORE CONFIGURING BELOW THIS LINE /////////////

IE=document.all;NS=document.layers;NS6=document.getElementById&&!document.all;BRs='';thehex=-1;theStr="";
if (fadeHeight[1]=="lines") for (i=0;i<fadeHeight[0];i++) {BRs+="<BR>"}
if (NS) {document.write('<ILAYER id=fadeLayer><FONT SIZE="'+fadeSize+'" FACE="'+fadeFace+'">'+((!NS)?BRs:'')+'<LAYER id=fadeLayer width='+fadeWidth+((fadeHeight[1]=="px")?" height="+fadeHeight+"":"")+' TOP=0 LEFT=0></LAYER></ILAYER>')}
else {document.write('<DIV id=baseFadeLayer style="position:relative;width:'+fadeWidth+((fadeHeight[1]=="px")?";height:"+fadeHeight+"":"")+'"><FONT SIZE="'+fadeSize+'" FACE="'+fadeFace+'">'+BRs+'<DIV id=fadeLayer STYLE="position:absolute;top:0;left:0;z-index:2;width:100%" ALIGN=CENTER></DIV></DIV>')}

function fadeText(type, which) {
if(window.fadetimeout){clearTimeout(fadetimeout);fadetimeout=''}
textStr=""
if (thehex<colors.length-1&&type=="in"||thehex>-1&&type=="out") {
if(type=="in"){thehex++;theStr=which}
else{thehex--;}
textStr="<FONT FACE=verdana SIZE=2 COLOR='"+colors[thehex]+"'>";
textStrs=theStr.split('>')

// If links in the string, adds colors to them
if (textStrs.length>1) {
for (i=0;i<textStrs.length;i++) {
textStr+=textStrs[i]+((i<textStrs.length-1)?">":"")
if (textStrs[i].charAt(textStrs[i].length-1).toLowerCase()=="a")textStr+="</FONT><FONT COLOR="+colors[thehex]+""+((NS6)?" SIZE="+fadeSize+" FACE="+fadeFace:"")+">"
if (textStrs[i].charAt(textStrs[i].indexOf('<')+1).toLowerCase()=="a")textStr+="<FONT COLOR="+linkcolors[thehex]+">"}}

// If no links in the string, just outputs original string
else {textStr+=theStr}

if(thehex==-1){textStr=""}

// Writes the string
// NS6 writes to 2 layers making the fade smoother
if (NS6)document.getElementById('fadeLayer').innerHTML=textStr;
if (IE)fadeLayer.innerHTML=textStr;
if (NS){document.layers["fadeLayer"].document.layers["fadeLayer"].document.write("<DIV ALIGN='CENTER'>"+textStr+"</DIV>")
document.layers["fadeLayer"].document.layers["fadeLayer"].document.close()}

fadetimeout=setTimeout('fadeText("'+type+'", "'+which+'")', fadeSpeed);}}

function FadeIn(message) {
if(window.tryingfade){clearTimeout(tryingfade);tryingfade="";}
if(thehex==-1){tryingfade=setTimeout('fadeText("in", "'+message+'")',fadeSpeed*2);}
else if (thehex<colors.length-1&&message==theStr||message!=theStr&&thehex>-1||thehex&&thehex<colors.length-1){
tryingfade=setTimeout('FadeIn("'+message+'")',fadeSpeed)
if(thehex==colors.length-1){fadeText('out')}}}

function FadeOut() {
if(window.tryingfade){clearTimeout(tryingfade);tryingfade="";}
fadeText('out');}

//-->
</SCRIPT>
          </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR>
</CENTER>