我想在ASP程序中加一个计数器,但不知加到那里,请教一下各位
<!--#includefile="include/conn.asp"--><!--#includefile="include/vars.asp"--><!--#incl...
<!-- #include file="include/conn.asp" -->
<!-- #include file="include/vars.asp" -->
<!-- #include file="include/asptemplate.asp" -->
<!-- #include file="zm_main.asp" -->
<!-- #include file="zm_default.asp" -->
<%
'on error resume next
dim t
set t = New ASPTemplate
t.SetTemplatesDir(c_tmp)
t.SetTemplateFile "default.html"
t.SetVariableFile "header", "header.html"
t.SetVariableFile "footer", "footer.html"
t.SetVariable "c_tmp",c_tmp
t.SetVariable "c_logo","./UpLoadfiles/upLoadImages/"&c_logo
t.SetVariable "c_name",c_name
t.SetVariable "mainnav",mainnav
t.SetVariable "productmenu",productmenu
t.SetVariable "newslist",newslist
t.SetVariable "productlist",productlist
t.SetVariable "footnav",footnav
t.SetVariable "link",link
t.SetVariable "cominfo",cominfo
t.SetVariable "copyright",c_copyright
t.SetVariable "ad",ad
t.SetVariable "gsjj",gsjj
if c_isqq="开" then
t.SetVariable "qq","<script type='text/javascript' src='qq/qq.asp'></script>"
else
t.SetVariable "qq","<!--未启用QQ在线服务-->"
end if
t.Parse
set t = nothing
%>
这是我的首页文件内容 展开
<!-- #include file="include/vars.asp" -->
<!-- #include file="include/asptemplate.asp" -->
<!-- #include file="zm_main.asp" -->
<!-- #include file="zm_default.asp" -->
<%
'on error resume next
dim t
set t = New ASPTemplate
t.SetTemplatesDir(c_tmp)
t.SetTemplateFile "default.html"
t.SetVariableFile "header", "header.html"
t.SetVariableFile "footer", "footer.html"
t.SetVariable "c_tmp",c_tmp
t.SetVariable "c_logo","./UpLoadfiles/upLoadImages/"&c_logo
t.SetVariable "c_name",c_name
t.SetVariable "mainnav",mainnav
t.SetVariable "productmenu",productmenu
t.SetVariable "newslist",newslist
t.SetVariable "productlist",productlist
t.SetVariable "footnav",footnav
t.SetVariable "link",link
t.SetVariable "cominfo",cominfo
t.SetVariable "copyright",c_copyright
t.SetVariable "ad",ad
t.SetVariable "gsjj",gsjj
if c_isqq="开" then
t.SetVariable "qq","<script type='text/javascript' src='qq/qq.asp'></script>"
else
t.SetVariable "qq","<!--未启用QQ在线服务-->"
end if
t.Parse
set t = nothing
%>
这是我的首页文件内容 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询