401.html 3.4 KB
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>404</title>

  <style>

    html {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizelegibility;
    }

    html,
    body {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    body {
      background: #ffffff;
      font-family: 'Roboto Condensed', sans-serif;
    }

    .col {
      text-align: center;
    }
    .col h1 {
      text-shadow: 0 3px 0px #404853, 0 6px 0px #333333;
      color: #f54f59;
      font-size: 6em;
      font-weight: 700;
      line-height: 0.6em;
    }
    .col p {
      color: #000000;
      font-family: monospace;
      font-size: 20px;
      font-weight: 500;
      line-height: 50px;
      font-family:"黑体";
    }
    .wrong-gif{
      margin:auto;
      width:438px;
      margin-top:10%
    }
    .wrong-content{
      height:100%;
      text-align:center;
      width:100%
    }
  </style>

</head>

<body bgcolor=black>
<div class="wrong-content">
<div  class="wrong-gif">
<img id ="title" src="" height="300px">
</div>
<div class="col">
  <p>没有权限,请联系管理员</p>
  <p>
系统将在 <span id="time" style="color:#f54f59;"> 3 </span> 秒钟后自动返回首页</p>
</div>
</div>
<script type="text/javascript">
    document.getElementById("title").src =  "http://" + window.location.host + "/picture/bg.gif";
    delayURL();
    function delayURL() {
        var delay = document.getElementById("time").innerHTML;
 var t = setTimeout("delayURL()", 3000);
        if (delay > 0) {
            delay--;
            document.getElementById("time").innerHTML = delay;
        } else {
     clearTimeout(t);
            window.location.href = "http://" + window.location.host + "/logout";
        }
    }
</script>



   <script language="JavaScript">
<!-- Matrix by kurt.grigg@virgin.net
if (document.all){
Cols=6;
Cl=24;//Space's are included so real length is 48!
Cs=10;
Ts=10;
Tc='#008800';
Tc1='#00ff00';
MnS=20;
MxS=30;
I=Cs;
Sp=new Array();S=new Array();Y=new Array();
C=new Array();M=new Array();B=new Array();
RC=new Array();E=new Array();Tcc=new Array(0,1);
document.write("<div id='Container' style='position:absolute;top:0;left:-"+Cs+"'>");
document.write("<div style='position:relative'>");
for(i=0; i < Cols; i++){
S[i]=I+=Cs;
document.write("<div id='A' style='position:absolute;top:0;font-family:Arial;font-size:"
+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'></div>");
}
document.write("</div></div>");

for(j=0; j < Cols; j++){
RC[j]=1+Math.round(Math.random()*Cl);
Y[j]=0;
Sp[j]=Math.round(MnS+Math.random()*MxS);
for(i=0; i < RC[j]; i++){
 B[i]='';
 C[i]=Math.round(Math.random()*1)+' ';
 M[j]=B[0]+=C[i];
 }
}
function Cycle(){
Container.style.top=window.document.body.scrollTop;
for (i=0; i < Cols; i++){
var r = Math.floor(Math.random()*Tcc.length);
E[i] = '<font color='+Tc1+'>'+Tcc[r]+'</font>';
Y[i]+=Sp[i];

if (Y[i] > window.document.body.clientHeight){
 for(i2=0; i2 < Cols; i2++){
 RC[i2]=1+Math.round(Math.random()*Cl);
 for(i3=0; i3 < RC[i2]; i3++){
 B[i3]='';
 C[i3]=Math.round(Math.random()*1)+' ';
 C[Math.floor(Math.random()*i2)]='&nbsp;'+' ';
 M[i]=B[0]+=C[i3];
 Y[i]=-Ts*M[i].length/1.5;
 A[i].style.visibility='visible';
 }
 Sp[i]=Math.round(MnS+Math.random()*MxS);
 }
}
A[i].style.top=Y[i];
A[i].innerHTML=M[i]+' '+E[i]+' ';
}
setTimeout('Cycle()',20)
}
Cycle();
}
// -->
</script>



</body>

</html>