<!--#include file="function1.asp" -->

<head>
<style type="text/css"><!--
body{margin:0px;background-color:#0068A5;}
--></style>
</head>
<%
dim id,url,page,str1,str2,cur1,cur2,str2_1,pid,tname
id=trim(request("id"))
if id="" then
   response.redirect"index.asp"
end if   

if instr(1,id,"0_")>0 then
   tname="最近更新"
elseif instr(1,id,"1_")>0 then
   tname="国外软件更新" 
elseif instr(1,id,"2_")>0 then
   tname="国产软件更新"  
elseif instr(1,id,"3_")>0 then
   tname="汉化软件"
else
   response.redirect"index.asp" 
end if                

call top(tname&" - Design by programz.cn")

url=StealUrl&"new/"&id&".html"

page= getHTTPPage(url)
str1=instr(1,page,"您的位置")
str2=instr(str1+1,page,"<!--下载页面尾部")

if str1<=0 or str2<=0 or str2-str1<=0 then
  response.write"出错"&str1&">"&str2&">"&str2-str1&">"
  response.end
end if
page=mid(page,str1,str2-str1)

change "/img/","images/"
change "img/","images/"
change "../images/","images/"
change "/Ggao/","#"
change "/uploadfiles/","http://www.crsky.com/uploadfiles/"
change "/softimages/","/softimg/"
change "images/stars/","images/"


change "../soft/","soft.asp?id="
change "../../list/","list.asp?id="
change "../downabc/abc_","abc.asp?id="
change "#js_index_left.js","topleft.asp"
change "../default.html","index.asp"
change "霏凡软件站","<a href=index.asp>"&sitename&"</a>"
change "霏凡软件",sitename
change "霏凡",sitename
change "../new/","newsoft.asp?id="
change "/search.asp","search.asp"

change ".html",""

cur1="<table width=778 height=26 border=0 align=center cellpadding=0 cellspacing=0 bgcolor=#D4EEFB>"&_
     "<tr valign=top><td width=6 rowspan=3 background=images/crsky_i_80.gif>"&_
     "<img src=images/crsky_i_23.gif width=6 height=5 border=0 alt></td>"&_
     "<td width=338 height=24 align=left valign=middle background=images/crsky_i_28.gif><img src=images/newwinrr.gif height=12>"

response.write cur1&page&cur2

call foot()
%>


