⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 top.asp

📁 网站的源码
💻 ASP
字号:
<%
y=year(now())
m=month(now())
d=day(now())
w1=weekday(now())
if w1=0 then
  w="六"
end if
if w1=1 then
  w="日"
end if
if w1=2 then
  w="一"
end if
if w1=3 then
  w="二"
end if
if w1=4 then
  w="三"
end if
if w1=5 then
  w="四"
end if
if w1=6 then
  w="五"
end if
ip = Request.ServerVariables("HTTP_X_FORWARDED_FOR") 
If ip = "" Then
ip = Request.ServerVariables("REMOTE_ADDR")    '来访IP
end if
%>
  <table width="760" height="12" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="5" bgcolor="#F2F2F2"></td>
    </tr>
    <tr>
      <td height="1" bgcolor="#CCCCCC"></td>
    </tr>

</table>
  <table width="760" height="20" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td> <div align="left">今天是:<%=y%>年<%=m%>月<%=d%>日&nbsp;&nbsp;&nbsp;您当前IP:<%=ip%> &nbsp;</div></td>
      <td> <div align="right"><SCRIPT><!--
function cks(){
var strurl;
var f = window.document.sf;
var u = f.elements[0];
var p = f.elements[1];
var a1 = f.elements[2];
if(f.word.value == "..查询关键字.." || f.word.value.length == 0)
{
  alert('请输入查询关键字!');
  f.word.focus();
  return false;
}
switch (f.s2.selectedIndex)
 {
 case 0:	//百度
  strurl = "http://www.baidu.com/baidu"
  break;
  case 1:	//百度
      u.name = "word"
   p.name = "lm"; p.value="-1"
  a1.name = "ct"; a1.value="201326592"
  strurl = "http://image.baidu.com/i"
  break;
  case 2:	//网址大全
  u.name = "keywords"
  p.name = "stype"; p.value="1"
  strurl = "http://www.fyasp.asp"
  break;
 case 3:	//天空软件
  u.name = "ss_name"
   p.name = "sor"; p.value="00"
  strurl = "http://www1.skycn.com/search.php"
  break;
 case 4:	//搜狐搜索
  u.name = "T1";
  strurl = "http://search.sohu.com/cgi-bin/search.cgi"
  break;
 case 5:	//网易搜索
   u.name = "q"
   p.name = "c"; p.value="25"
  a1.name = "source"; a1.value="163"
  strurl = "http://site.so.163.com/search.php"
  break;
 case 6:	//中国搜索
     u.name = "word"
  strurl = "http://page.zhongsou.com/zspage.cgi"
  break;
 case 7:	//google搜索
  u.name = "q"
  p.name = "ie"; p.value="GB2312"
  a1.name = "hl"; a1.value="zh-CN"
  strurl = "http://www.google.com/search"
  break;
 case 8:	//yahoo搜索
  u.name = "p"
  strurl = "http://search.cn.yahoo.com/search"
  break;
 case 9:	//sogua
  u.name = "key"
    p.name = "search"; p.value="music"
  strurl = "http://search.sogua.com/search/search.asp"
  break;
 case 10:	//新浪搜索
  strurl = "http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey"
  break;
 }
  f.action=strurl;
//  f.submit()
  return true;
}
function Clearname(){
document.sf.s2.value="";
}
//-->
</SCRIPT>
<BODY topmargin="0" leftmargin="0">
</div>
</td>
</tr>
</table>
<table width="760" height="1" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td height="1" bgcolor="#CCCCCC"></td>
    </tr>
</table>
  <table width="760" border="1" cellpadding="0" cellspacing="0" bordercolor="#F2F2F2" bgcolor="#F2F2F2">
    <tr>

    </tr>
</table>
  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -