<HTML>
<HEAD>
<TITLE>沧海风云娱乐网在线读书</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="Microsoft FrontPage 6.0" name=GENERATOR>
</HEAD>
<!--#include file="head.asp"-->
<BODY leftMargin=0 topMargin=0  marginheight="0" marginwidth="0">
<table width="777" border="0" align="center" class="center_tdbgall" cellpadding="0" cellspacing="0" bgcolor="#f6f6f6">
<tr>
<td>
<table width="777" border="0" align="center" cellspacing="0" bgcolor="#FFFFFF" bordercolor="#999999" bordercolordark="#999999" bordercolorlight="#999999">
  <tr>
    <td bgcolor="#FFFFFF">
      <p align="center"><%
dim url,page,cutpage,str
'on error resume next
	Function getHTTPPage(url) 
	'	on error resume next 
		dim http 
		set http=Server.createobject("Microsoft.XMLHTTP") 
		Http.open "GET",url,false 
		Http.send() 
		if Http.readystate<>4 then
			exit function 
		end if 
		getHTTPPage=bytesToBSTR(Http.responseBody,"GB2312")
		set http=nothing
		if err.number<>0 then err.Clear  
	End function
		
	Function BytesToBstr(body,Cset)
		dim objstream
		set objstream = Server.CreateObject("adodb.stream")
		objstream.Type = 1
		objstream.Mode =3
		objstream.Open
		objstream.Write body
		objstream.Position = 0
		objstream.Type = 2
		objstream.Charset = Cset
		BytesToBstr = objstream.ReadText 
		objstream.Close
		set objstream = nothing
	End Function
'===================================================
'url="http://www.cmfu.com"&Request.serverVariables("SCRIPT_NAME")&"?"&Request.serverVariables("QUERY_STRING")
url="http://www.cmfu.com/listbookpy.asp?"&Request.serverVariables("QUERY_STRING")
page= getHTTPPage(url)
cutpage=instr(page,"□")
str=instr(cutpage,page,"部 ]</div>")
%>
<% 
=mid(page,cutpage,str-cutpage+10)
%></td>
  </tr>
</table>
   </TD>
  </TR>
</TABLE>
<!--#include file="bottom.asp"-->
</BODY>
</HTML>