jump_ur.php通知模板

<title>出错啦~~~</title> 
<script language="javascript" type="text/javascript"> 
    var i = 5; 
    var intervalid; 
    intervalid = setInterval("fun()", 1000); 
    function fun() 
    { 
        if (i == 0) 
        { 
            window.location.href = "<?php echo empty($url)?'':$url;?>"; 
            clearInterval(intervalid); 
        } 
        document.getElementById("mes").innerHTML = i; 
        i--; 
    } 
</script> 
<div id="errorfrm"> 
    <h3>出错啦~~~</h3> 
    <div id="error"> 
        <p>系统出错,请联系管理员!</p> 
        <p>将在 <span id="mes">5</span> 秒钟后返回首页!</p> 
    </div>  
</div> 

 

posted @ 2015-09-16 13:27  李照耀  阅读(350)  评论(0编辑  收藏  举报