www.gusucode.com > WapEditFile手机WAP文件管理器源码 > wap_sourcefile1.asp

    <!--#include file="wap_common.asp"-->
<!--#include file="wap_check.asp"-->
<!--#include file="wap_verify.asp"-->
<%Response.ContentType="text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?> 
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> 
<wml>
<head><meta http-equiv='Cache-Control' content='no-cache'/>
</head>

<card id='wuyumin' title='查看网页代码'>
<p>
<!--#include file="wap_top.asp"-->
<!--#include file="wap_top_end.asp"-->
</p>
<p>

<%
SourceFile=trim(request("SourceFile"))
SourceCode=trim(request("SourceCode"))
if SourceFile="" then 
SourceFile="http://"
end if

response.Write "【查看网页代码】<br/>"&chr(13)
response.Write "此功能可以让您参考或借鉴一些优秀网站哦<br/>"&chr(13)
response.Write "[输入网址]<input type='text' name='SourceFile' title='输入网址' value='http://' emptyok='false'/>*必填<br/>"&chr(13)
response.Write "[对应编码]<select name='SourceCode' title='对应编码'><option value='GB2312'>GB2312</option><option value='UTF-8'>UTF-8</option><option value='Unicode'>Unicode</option></select>*必选<br/>"&chr(13)
response.Write "<anchor>查看GO<go href='wap_sourcefile2.asp' method='post'>"&chr(13)
response.Write "<postfield name='SourceFile' value='$(SourceFile)'/>"&chr(13)
response.Write "<postfield name='SourceCode' value='$(SourceCode)'/></go></anchor>"&chr(13)
response.Write "<br/>备注:<br/>一、如果网页代码出现乱码,请尝试选择其他编码来查看。<br/>二、为适应手机内存,网页代码内容长度超过1000个字符的网页代码采取分段查看。<br/>"&chr(13)
%>

</p>
<p>
<!--#include file="wap_footer_head.asp"-->
<!--#include file="wap_footer.asp"-->
</p>
</card>
</wml>