www.gusucode.com > hi5360.com网站源码 2.2.1208 > ip.asp

    <!--#include file="./inc/StealClass.asp"-->
<% 
Dim ip,mySTL,sIP,sWhois
ip=request("ip")
If ip="" Then ip=request.ServerVariables("REMOTE_HOST")

set mySTL=new clsSteal
mySTL.src="http://www.hi5360.com/open/IP1.0.asp?m=txt&ip=" &ip
mySTL.send("get")
sIP=mySTL.value

mySTL.src="http://www.hi5360.com/open/Tool1.0.asp?t=ipwhois&c=" &ip
mySTL.send("get")
sWhois=mySTL.value

Set mySTL=nothing
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Keywords" content="想念查询网,hi5360,我想念你(5360),IP查询" />
<title>想念查询网·IP地址站 — Whois注册信息查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> 
<link href="./inc/hi5360.css" type="text/css" rel="stylesheet" />		
<style type="text/css"> 
body { background:#F2F6FB;
font-family: Geneva, Arial, Helvetica, sans-serif; 
font-size: 12px; 
}

.ip_whois {
	margin: 20px;padding-left: 10px;
	width: 700px; border: 1px solid #CCCCCC;
	}
</style> 
</head> 

<body><div id="base">
<script language="JavaScript" type="text/javascript" src="./inc/banner.js"></script>

<div id="f"><form name="formIP" id="formIP" method="get" action="" onsubmit="return checkIP();"> 
请输入IP地址 <input name="ip" type="text" value="<%=ip%>" size="16" maxlength="15" class="input"/> 
<input type="submit" value="查询IP地址Whois注册信息" class="btn" /> <%=sIP%>
</form></div>

<div class="ip_whois">
<ul>
<%=sWhois%>
</ul>
</div>

<div id="footer">
<script src="./inc/foot.js" type="text/javascript"></script>
</div>

</div></body>
</html>