📄 main_cls.asp
字号:
<%
Function AdsShow(aADUrl,aSort,aType,aPic,aText,aUrl,aSize,aOpenType,aPlayType,aBegin,aEnd)
Dim sContent,DateKey
DateKey = 0
If aPlayType = 2 Then
If cDate(aBegin) <= Date() And cDate(aEnd) >= Date() Then DateKey = 1
Else
DateKey = 1
End If
If DateKey = 1 Then
If aSort = 2 Then
Response.write "var aUrl"&aSort&" = """&Replace(aUrl,"&","§")&""";" & vbCrLf
Response.write "var aType"&aSort&" = "&aType&";" & vbCrLf
Else
Response.write "var aUrl"&aSort&" = """&aUrl&""";" & vbCrLf
Response.write "var aType"&aSort&" = """&Replace(Replace(Replace(Lcase(aType),1,"text"),2,"gif"),3,"swf")&""";" & vbCrLf
End If
Response.write "var aADUrl"&aSort&" = """&aADUrl&""";" & vbCrLf
Response.write "var aText"&aSort&" = """&aText&""";" & vbCrLf
Response.write "var aPic"&aSort&" = """&aPic&""";" & vbCrLf
If aSort > 0 Then
Response.write "var aWidth"&aSort&" = "&Split(aSize,",")(0)&";" & vbCrLf
Response.write "var aHeight"&aSort&" = "&Split(aSize,",")(1)&";" & vbCrLf
End If
Response.write "var aOpenType"&aSort&" = """&aOpenType&""";" & vbCrLf
Response.write "document.write('<SCRI' + 'PT LANGUAGE=""javascript1.2""');" & vbCrLf
Response.write "document.writeln(' SRC="""&aADUrl&"js/"&aSort&".js""></SCR' + 'IPT>'); "
Response.end
End If
End Function
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -