兴宁A8 兴宁论坛 兴宁新闻 兴宁人的网络社区
标题:
404出错页面代码
[打印本页]
作者:
兴宁A8网
时间:
2009/11/28 15:28
标题:
404出错页面代码
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>文件不存在</title>
</head>
<body>
<p> </p>
<p> </p>
<div align="center">
<center>
<table border="1" cellpadding="5" width="500" id="AutoNumber1" bordercolor="#000080">
<tr>
<td width="500">文件没有找到</td>
</tr>
<tr>
<td width="500">对不起,您访问的文件没有找到,可能是
网站
正在建设之中。
<p>您访问的
网站
是:
<script Language="java script">
<!--
url = location.hostname;
document.write(url);
//-->
</script>
</p>
<p>您访问的文件是:
<script Language="java script">
<!--
url = location.pathname;
document.write(url);
//-->
</script>
</p>
<script language="java script">
<!-- Hiding
document.write("您访问的时间是: ");
today=new Date();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
var timeValue = hours;
timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
function initArray(){
this.length=initArray.arguments.length
for(var i=0;i<this.length;i++)
this[i+1]=initArray.arguments
}
var d=new initArray("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
document.write(today.getYear(),"年",today.getMonth()+1,"月",today.getDate(),"日 ",d[today.getDay()+1]," ",timeValue);
//-->
</script>
<p>您可以发信给:
<script Language="java script">
<!--
url = location.hostname;
var domainlength = url.length;
domainname = url.substring(4,domainlength);
document.write("<a href=/"mailto:webmaster@" , domainname , "/">webmaster@" , domainname, "</a>");
//-->
</script>
</p>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
欢迎光临 兴宁A8 兴宁论坛 兴宁新闻 兴宁人的网络社区 (http://bbs.xna8.com/)
Powered by Discuz! X3.1