ASP代码怎么看不懂啊,跪求高手帮忙解释...
<!--#include file= "top.asp "-->
<!--#include file= "userlogin.asp "-->
<%
'页面信息
Top_Mask=replace(Top_Mask, "{$LODO_WEB_TITLE$} ",lodo_WebName)
Top_Mask=replace(Top_Mask, "{$LODO_WEB_KEYWORDS$} ",lodo_Webgjz)
Top_Mask=replace(Top_Mask, "{$LODO_WEB_DESCRIPTION$} ",lodo_WebDescribe)
On Error Resume Next
set Frs=lodo_Obj.connexecute( "select IndexMask from lodo_Mask where Appno=1 ")
if not(Frs.eof or Frs.bof) then
CMstr=split(Frs( "IndexMask "), " <!-- <$@_@$> --> ")
else
call Lodo_Obj.LD_error( "此系统暂时还没有模板,前台无法使用! ",0)
end if
set Frs=nothing
Center_Mask=CMstr(0) '中间
'首页伸收广告开始
LODO_INDEX_AD_STRETCH= " "
set irs=lodo_Obj.connexecute( "select * from lodo_ad where ADType=6 and Status=1 ")
if not(irs.eof or irs.bof) then
LODO_INDEX_AD_STRETCH= " <SCRIPT language=JavaScript> "
LODO_INDEX_AD_STRETCH=LODO_INDEX_AD_STRETCH& "var STime= "&irs( "Second ")& "; "
LODO_INDEX_AD_STRETCH=LODO_INDEX_AD_STRETCH& "document.write( " " <div align=\ " "center\ " " id=\ " "interstitialframe\ " "> "
if irs( "Connectivity ") <> " " then
LODO_INDEX_AD_STRETCH=LODO_INDEX_AD_STRETCH& " <A onfocus=\ " "this.blur();\ " " href=\ " " "&irs( "Connectivity ")& "\ " " target=_blank> "
end if
LODO_INDEX_AD_STRETCH=LODO_INDEX_AD_STRETCH& " <IMG src=\ " " "&irs( "Pictureaddr ")& "\ " " title=\ " " "&irs( "Explain ")& "\ " " border=0> </A> </div> " "); "&vbcrlf
LODO_INDEX_AD_STRETCH=LODO_INDEX_AD_STRETCH& " </SCRIPT> "
LODO_INDEX_AD_STRETCH=LODO_INDEX_AD_STRETCH& " <script language= " "javascript " " src= " "js/gg.js " "> </script> "
response.write LODO_INDEX_AD_STRETCH
end if
set irs=nothing
'首页伸收广告结束
以上是我下载一个系统的前台片段代码,小弟太菜,看不懂,更无法修改...后台程序都改好了,现在前台改不了,真是郁闷.....请知道的朋友帮忙解释一下,该怎么修改......不胜感激!!!!!
------解决方案--------------------前面部分是替换模板,后面部分是直接输出JS代码。
------解决方案--------------------你想改成怎么样?
------解决方案--------------------做模板的都要学点正则知识!
------------------------------小Tips推荐------------------------------------
+ 丰富的ajax/vb/vb.net/asp.net/sql数据库开发技术资料与大家分享 +
+ http://www.wewill.cn +
+ +
+ QQ:27333430 +
----------------------------------------