亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? address.asp

?? 提供手機wap建站
?? ASP
字號:
<!--#include file="../conn.asp"-->
<!--#include file="inc/const.asp"-->
<%
Head()
Dim admin_flag
admin_flag=",31,"
CheckAdmin(admin_flag)

Dim aconn,aconnstr
aConnStr = "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & Server.MapPath(MyDbPath & "data/ipaddress.mdb")
Set aconn = Server.CreateObject("ADODB.Connection")
aconn.open aconnstr

Dim body,rs,dadadas,country,city,num
Dim ip1,ip2,oldip1,oldip2
Dim esip,str1,sip,str2,str3,str4
Dim s1,s21,s2,s31,s3,s4
Set Rs= server.createobject ("adodb.recordset")
Call main()
Footer()

sub main()
%>
<table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
<tr> 
<th width="100%" colspan=5 style="text-align:center;">IP數據源管理--<a href="?action=add">添加IP地址</a></th>
</tr>
<tr> 
<td width="20%" class=td1>注意事項</td>
<td width="80%" class=td1 colspan=4>如果需要添加IP數據來源請直接添加,如果添加的來源在數據庫中已經存在,將提示您是否進行修改,數據庫中尚沒有的記錄將直接添加,您也可以直接對現有的數據進行管理操作。</td>
</tr>
<%
	if request("action") = "add" then 
		call addip()
	elseif request("action")="edit" then
		call editip()
	elseif request("action")="savenew" then
		call savenew()
	elseif request("action")="savedit" then
		call savedit()
	elseif request("action")="del" then
		call del()
	elseif request("action")="query" then
		call ipinfo()
	elseif request("action")="upip" then
		call upip()
	elseif request("action")="saveip" then
		call saveip()
	else
		call ipquery()
	end if
	response.write body
%>
</table>
<%
end sub

sub addip()
%>
<form action="?action=savenew" method=post>
<tr> 
    <th colspan="5">修改 IP 地址</th>
</tr>
<tr> 
<td width="20%" class=td1>起始 I P</td>
<td width="80%" class=td1 colspan=4><input type="text" name="ip1" size="30"></td>
</tr>
<tr> 
<td width="20%" class=td1>結尾 I P</td>
<td width="80%" class=td1 colspan=4><input type="text" name="ip2" size="30"></td>
</tr>
<tr> 
<td width="20%" class=f>來源國家</td>
<td width="80%" class=td1 colspan=4><input type="text" name="country" size="30"></td>
</tr>
<tr> 
<td width="20%" class=td1>來源城市</td>
<td width="80%" class=td1 colspan=4><input type="text" name="city" size="30"></td>
</tr>
<tr> 
<td width="20%" class=td1>&nbsp;</td>
<td width="80%" class=td1 colspan=4><input type="submit" class="button" name="Submit" value="提 交"></td>
</tr>
</form>
<%
end sub

sub editip()
Dim sql
ip1=request("ip1")
ip2=request("ip2")
sql="select ip1,ip2,country,city from dv_address where ip1="&ip1&" and ip2="&ip2&""
rs.open sql,aconn,1,1
%>
<form action="?action=savedit" method=post>
<tr> 
    <th colspan="5">修改 IP 地址</th>
</tr>
<tr> 
<td width="20%" class=td1>起始 I P</td>
<td width="80%" class=td1 colspan=4><input type="text" name="ip1" size="30" value="<%=deaddr(ip1)%>"></td>
</tr>
<tr> 
<td width="20%" class=td1>結尾 I P</td>
<td width="80%" class=td1 colspan=4><input type="text" name="ip2" size="30" value="<%=deaddr(ip2)%>"></td>
</tr>
<tr> 
<td width="20%" class=td1>來源國家</td>
<td width="80%" class=td1 colspan=4><input type="text" name="country" size="30" value="<%=rs("country")%>"></td>
</tr>
<tr> 
<td width="20%" class=td1>來源城市</td>
<td width="80%" class=td1 colspan=4><input type="text" name="city" size="30" value="<%=rs("city")%>"></td>
</tr>
<input type="hidden" name="oldip1" value="<%=request("ip1")%>">
<input type="hidden" name="oldip2" value="<%=request("ip2")%>">
<tr> 
<td width="20%" class=td1>&nbsp;</td>
<td width="80%" class=td1 colspan=4><input type="submit" class="button" name="Submit" value="提 交"></td>
</tr>
</form>
<%
end sub

sub savenew()
Dim sql
if request.form("ip1")="" then
body="<tr><td colspan=5 class=td1>請填寫IP地址!</td></tr>"
exit sub
end if
if request.form("ip2")="" then
body="<tr><td colspan=5 class=td1>請填寫IP地址!</td></tr>"
exit sub
end if
if request.form("country")="" or request.form("city")="" then
body="<tr><td colspan=5 class=td1>國家和城市必須填寫其一!</td></tr>"
exit sub
end if
ip1=enaddr(request.form("ip1"))
ip2=enaddr(request.form("ip2"))
country=request.form("country")
city=request.form("city")
sql="select ip1,ip2,country,city from dv_address where ip1<="&ip1&" and ip2>="&ip2&""
rs.open sql,aconn,1,3
if rs.eof and rs.bof then
rs.AddNew 
rs("ip1")=ip1
rs("ip2")=ip2
rs("country")=country
rs("city")=city
rs.update
body="<tr><td colspan=5 class=td1>添加成功,<a href=?>請繼續其他操作</a>。</td></tr>"
else
body="<tr><td colspan=5 class=td1>添加失敗,數據已存在,請到搜索中搜索該ip地址并進行修改。</td></tr>"
end if
rs.close
end sub

sub savedit()
Dim sql
oldip1=int(request.form("oldip1"))
oldip2=int(request.form("oldip2"))
ip1=enaddr(request.form("ip1"))
ip2=enaddr(request.form("ip2"))
country=request.form("country")
city=request.form("city")
sql="select ip1,ip2,country,city from dv_address where ip1="&oldip1&" and ip2="&oldip2&""
rs.open sql,aconn,1,3
if not(rs.eof and rs.bof) then
rs("ip1")=ip1
rs("ip2")=ip2
rs("country")=country
rs("city")=city
rs.update
body="<tr><td colspan=5 class=td1>IP地址修改成功!</td></tr>"
else
body="<tr><td colspan=5 class=td1>IP地址修改失敗!</td></tr>"
end if
rs.close
end sub

sub del()
Dim SQL
ip1=request("ip1")
ip2=request("ip2")
sql="delete from dv_address where ip1="&ip1&" and ip2="&ip2&""
aconn.Execute(sql)
body="<tr><td colspan=5 class=td1>刪除成功,<a href=?>請繼續其他操作</a>。</td></tr>"
end sub

sub ipinfo()
	dim currentpage,page_count,Pcount
	dim totalrec,endpage,sql,i
	currentPage=request("page")
	if currentpage="" or not IsNumeric(currentpage) then
		currentpage=1
	else
		currentpage=clng(currentpage)
		if err then
			currentpage=1
			err.clear
		end if
	end if
	country=trim(request("country"))
	city=trim(request("city"))
	if request("ip")="" and country="" and city="" then
	sql="select ip1,ip2,country,city from dv_address order by ip1 desc,ip2 desc"
	else
	sql="select ip1,ip2,country,city from dv_address where "
	if request("ip")<>"" then
		num=enaddr(request("ip"))
		sql = sql&" ip1 <="&num&" and ip2 >="&num&" order by ip1 desc,ip2 desc"
	else
		if country<>"" then sql=sql&" country like '%"&country&"%'"
		if city<>"" then sql=sql&" city like '%"&city&"%'"
		sql=sql&" order by ip1 desc,ip2 desc"
	end if
	end if
	rs.open sql,aconn,1,1
	if rs.eof and rs.bof then
	call addip()
	else
%>
<tr> 
    <th colspan="5">IP 地址庫搜索結果</th>
</tr>
  <tr align="center"> 
    <td width="20%" class="forumHeaderBackgroundAlternate"><B>起始 IP</B></td>
    <td width="20%" class="forumHeaderBackgroundAlternate"><B>結尾 IP</B></td>
    <td width="18%" class="forumHeaderBackgroundAlternate"><B>國 家</B></td>
    <td width="30%" class="forumHeaderBackgroundAlternate"><B>城 市</B></td>
    <td width="12%" class="forumHeaderBackgroundAlternate"><B>操 作</B></td>
  </tr>
<%
		rs.PageSize = Cint(Dvbbs.Forum_Setting(11))
		rs.AbsolutePage=currentpage
		page_count=0
		totalrec=rs.recordcount
		while (not rs.eof) and (not page_count = Cint(Dvbbs.Forum_Setting(11)))
%>
    <tr>
    <td width="20%" class=td1><%=deaddr(rs("ip1"))%></td>
    <td width="20%" class=td1><%=deaddr(rs("ip2"))%></td>
    <td width="18%" class=td1><%=rs("country")%>&nbsp;</td>
    <td width="30%" class=td1><%=rs("city")%>&nbsp;</td>
    <td width="12%" align="center" class=td1><a href="?action=edit&ip1=<%=rs("ip1")%>&ip2=<%=rs("ip2")%>">編輯</a>|<a href="?action=del&ip1=<%=rs("ip1")%>&ip2=<%=rs("ip2")%>">刪除</a></td>
    </tr>
<%
		page_count = page_count + 1
		rs.movenext
		wend
%>
<tr><td colspan=5 class=td1 align=center>分頁:
<%Pcount=rs.PageCount
	if currentpage > 4 then
	response.write "<a href=""?page=1&action=query&country="&country&"&city="&city&"&ip="&request("ip")&""">[1]</a> ..."
	end if
	if Pcount>currentpage+3 then
	endpage=currentpage+3
	else
	endpage=Pcount
	end if
	for i=currentpage-3 to endpage
	if not i<1 then
		if i = clng(currentpage) then
        response.write " <font color=red>["&i&"]</font>"
		else
        response.write " <a href=""?page="&i&"&action=query&country="&country&"&city="&city&"&ip="&request("ip")&""">["&i&"]</a>"
		end if
	end if
	next
	if currentpage+3 < Pcount then 
	response.write "... <a href=""?page="&Pcount&"&action=query&country="&country&"&city="&city&"&ip="&request("ip")&""">["&Pcount&"]</a>"
	end if
%>
</td>
</tr>
<%
	end if
	rs.close
end sub

sub ipquery()
%>
<form action="?action=query" method = post>
<tr> 
    <th colspan="5">IP 地址庫搜索</th>
</tr>
  <tr> 
    <td width="20%" class=td1>IP 地址:</td>
    <td width="80%" class=td1 colspan=4> 
      <input type="text" name="ip" size=40>
    </td>
  </tr>
  <tr> 
    <td width="20%" class=td1>國 家:</td>
    <td width="80%" class=td1 colspan=4> 
      <input type="text" name="country" size=40>
    </td>
  </tr>
  <tr> 
    <td width="20%" class=td1>城 市:</td>
    <td width="80%" class=td1 colspan=4> 
      <input type="text" name="city" size=40>
    </td>
  </tr>
  <tr> 
    <td width="20%" class=td1>&nbsp;</td>
    <td width="80%" class=td1 colspan=4> 
       <input type="submit" class="button" name="Submit" value="搜 索" class="button">
    </td>
  </tr>
</form>

<%end sub

function enaddr(sip)
 esip=cstr(sip)
 str1=Left(sip,CInt(InStr(sip,".")-1))
 sip=Mid(sip,cint(instr(sip,"."))+1)
 str2=Left(sip,cint(instr(sip,"."))-1)
 sip=mid(sip,cint(instr(sip,"."))+1)
 str3=left(sip,cint(instr(sip,"."))-1)
 str4=mid(sip,cint(instr(sip,"."))+1)
 enaddr=cint(str1)*256*256*256+cint(str2)*256*256+cint(str3)*256+cint(str4)-1
end function
function deaddr(sip)
sip=sip+1
s1=int(sip/256/256/256)
s21=s1*256*256*256
s2=int((sip-s21)/256/256)
s31=s2*256*256+s21
s3=int((sip-s31)/256)
s4=sip-s3*256-s31
deaddr=cstr(s1)+"."+cstr(s2)+"."+cstr(s3)+"."+cstr(s4)
end function
%>
<script language="JavaScript">
<!--
function CheckAll(form)  {
  for (var i=0;i<form.elements.length;i++)    {
    var e = form.elements[i];
    if (e.name != 'chkall')       e.checked = form.chkall.checked; 
   }
  }
//-->
</script>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成年人网站在线观看| 一区二区三区日韩欧美| 99精品热视频| 精品一区二区三区免费视频| 亚洲日本中文字幕区| 精品国产乱码久久久久久图片| 91天堂素人约啪| 精品一二三四在线| 日韩中文字幕不卡| 亚洲欧美另类在线| 中文一区在线播放| 欧美精品一区二区三区在线 | 欧美成人性战久久| 欧美写真视频网站| 97久久精品人人澡人人爽| 国内成人精品2018免费看| 亚洲丶国产丶欧美一区二区三区| 国产精品视频看| 久久久精品综合| 日韩久久久久久| 欧美精品 日韩| 欧美日韩国产首页在线观看| 99久久久久久| www.欧美日韩国产在线| 国产.欧美.日韩| 国产精品一区二区久激情瑜伽| 麻豆国产一区二区| 日韩高清在线不卡| 婷婷久久综合九色综合伊人色| 亚洲综合丝袜美腿| 亚洲乱码中文字幕综合| 亚洲三级小视频| 亚洲少妇中出一区| 综合网在线视频| 亚洲精品美国一| 亚洲一区二区三区激情| 亚洲线精品一区二区三区| 亚洲综合一区在线| 亚洲va在线va天堂| 日本aⅴ免费视频一区二区三区| 日韩和的一区二区| 日本少妇一区二区| 黄网站免费久久| 国产一区二区三区视频在线播放 | 成+人+亚洲+综合天堂| 国产v日产∨综合v精品视频| 丁香六月久久综合狠狠色| 成人免费高清在线| 91麻豆自制传媒国产之光| 91蝌蚪国产九色| 欧美性色欧美a在线播放| 欧美日韩情趣电影| 日韩视频一区二区三区| wwww国产精品欧美| 欧美国产禁国产网站cc| 国产精品的网站| 一区二区三区国产精品| 丝袜亚洲另类欧美综合| 久久精品国内一区二区三区| 国产精品一区在线| 972aa.com艺术欧美| 欧美日韩三级在线| 精品国产乱码久久| 成人免费在线播放视频| 五月天网站亚洲| 国产一区二区三区免费看| 99九九99九九九视频精品| 欧美三级在线视频| 久久综合资源网| 中文字幕一区免费在线观看| 亚洲第一成人在线| 国产一区二区久久| 色噜噜狠狠一区二区三区果冻| 欧美日本韩国一区| 国产亚洲一区二区三区| 一区二区三区美女| 九九国产精品视频| 91麻豆国产自产在线观看| 欧美日韩国产另类一区| 国产人成亚洲第一网站在线播放| 一区二区三区精品| 亚洲成av人片一区二区三区| 欧美美女一区二区| 午夜一区二区三区在线观看| 国内久久精品视频| 日本乱码高清不卡字幕| 精品日本一线二线三线不卡| 亚洲少妇最新在线视频| 精品一区免费av| 日本电影欧美片| 国产蜜臀97一区二区三区| 性感美女久久精品| 不卡av在线网| 日韩一级完整毛片| 亚洲免费在线视频一区 二区| 久久国产麻豆精品| 欧美主播一区二区三区| 久久久99久久精品欧美| 秋霞午夜av一区二区三区| 99久久伊人久久99| 久久久五月婷婷| 奇米影视在线99精品| 在线亚洲免费视频| 中文幕一区二区三区久久蜜桃| 美女尤物国产一区| 欧美吞精做爰啪啪高潮| 亚洲欧洲三级电影| 国产在线播放一区三区四| 欧美一区二区三区影视| 亚洲免费观看在线观看| 国产69精品一区二区亚洲孕妇| 日韩欧美精品在线| 亚洲成a人在线观看| jizz一区二区| 国产精品欧美久久久久一区二区| 狠狠v欧美v日韩v亚洲ⅴ| 91麻豆精品国产自产在线 | 久久一留热品黄| 日韩电影在线免费看| 欧美性猛片aaaaaaa做受| 亚洲天堂免费在线观看视频| 不卡的av电影| 国产精品私人影院| 丰满亚洲少妇av| 日本一区二区三区视频视频| 国产精品白丝jk黑袜喷水| 日韩女优av电影在线观看| 人人狠狠综合久久亚洲| 91精品欧美福利在线观看| 亚洲成人动漫一区| 欧美喷水一区二区| 精品一区二区三区免费| 日韩精品中文字幕在线一区| 热久久一区二区| 精品三级在线看| 精品一区二区av| 国产亚洲成av人在线观看导航| 国产成人免费视频精品含羞草妖精| 久久久久久97三级| 国产·精品毛片| 亚洲天堂av一区| 91成人看片片| 日韩不卡一区二区三区| 日韩亚洲欧美一区二区三区| 久久99国产精品成人| 精品久久一区二区三区| 国产成+人+日韩+欧美+亚洲| 国产精品久久久久久久裸模| 99久久精品免费看国产| 一区二区三区高清在线| 91麻豆精品国产91久久久久久久久| 免费亚洲电影在线| 久久久久久久久久久久久女国产乱| 国产成人午夜99999| 亚洲欧洲另类国产综合| 日本乱人伦aⅴ精品| 日韩和欧美一区二区三区| 久久夜色精品一区| 9i在线看片成人免费| 亚洲国产欧美一区二区三区丁香婷| 欧美日韩视频专区在线播放| 九九视频精品免费| 中文字幕在线观看一区二区| 日本道色综合久久| 开心九九激情九九欧美日韩精美视频电影 | 秋霞午夜鲁丝一区二区老狼| 久久蜜臀精品av| 一本一道综合狠狠老| 午夜天堂影视香蕉久久| 亚洲精品一区二区三区影院| eeuss国产一区二区三区| 午夜精品视频在线观看| 久久女同互慰一区二区三区| 91免费精品国自产拍在线不卡| 水蜜桃久久夜色精品一区的特点| 久久久久久久久久久久久夜| 91福利在线播放| 精品一区二区三区在线播放| 17c精品麻豆一区二区免费| 欧美一区二区三级| 不卡的av中国片| 免费成人在线视频观看| 亚洲欧美电影院| 精品国精品国产尤物美女| 色综合久久综合网欧美综合网| 天天色综合天天| 亚洲日本在线观看| 精品成人在线观看| 欧美在线观看18| 成人在线一区二区三区| 日韩影视精彩在线| 亚洲精品免费在线播放| 久久人人超碰精品| 欧美美女激情18p| 91在线精品一区二区| 国产在线一区观看| 亚洲va在线va天堂| 亚洲美女屁股眼交3| 国产日产欧美一区| 日韩美女视频19|