第一步,当然是申请GOOGLE AD 代码了
第二步,在网站后台,打开USER 侧边模块 选择HTML代码编辑 加入以下代码
[code]
Google广告载入中…
[/code]
在footer.asp加入以下脚本
[code]
[/code]
第三步,通过电子相册(因为我一直没有用它,所以另作他用)加入GOOGLE SEARCH
打开内容模块 NewGallery 选择HTML编辑
加入以下代码,原来的可用,直接删了(这样好看一点,哈哈。)
[code]
<$NewGallery$>
[/code]
第四步,在内容页加下Google Content
主要修改Template目录下的Article.asp和class目录下的cls_article.asp
在Article.asp修改的位置如下
[code]
<$ArticleContent$>
<%'2006-10-13 add google ad %>
<%'2006-10-13 add google ad %>
<%'2006-10-13 end%>
[/code]
在cls_article.asp修改的位置如下
[code]
else
response.write (highlight(UnCheckStr(log_ViewArr(8,0)),keyword))
end if %>
在cls_article.asp修改的位置如下
[code]
else
response.write (highlight(UnCheckStr(log_ViewArr(8,0)),keyword))
end if %>
<%'2006-10-13 add google ad %>
<%'2006-10-13 end%>
This post has No comment. Add your own.