资源预览内容
第1页 / 共8页
第2页 / 共8页
第3页 / 共8页
第4页 / 共8页
第5页 / 共8页
第6页 / 共8页
第7页 / 共8页
第8页 / 共8页
亲,该文档总共8页全部预览完了,如果喜欢就下载吧!
资源描述
1、创建函数标签、创建函数标签 标签名称:163pic 分页数量:5 自动刷新:10 查询语句: select top 4 ArticleID,ChannelID,ClassID,Title,DefaultPicUrl,Content from PE_Article where Status = 3 and (IncludePic=1 or IncludePic=2) and ChannelID=input(0) and deleted=0 and Elite=true order by ArticleID desc 注:以上选择的是“推荐”图片。如果想选择最新图片,请将查询语句中的“ and Elite=true“ 去掉。 优先级:5 参数说明:频道 ID 标签内容:Loop Infobegin imgUrl$AutoID=“$InstallDir$Field(1,GetChannel,1)/$Field(1,GetChannel,3)/$Field(4, Text,0,0,0)“ imgLink$AutoID=“$InstallDir$Field(0,GetUrl,Article,1)“ imgtext$AutoID=“$Field(3,Text,0,0,0)“ imgintro$AutoID=“$Field(5,Text,60,2,1)“ Infoend /Loop document.write() document.write() document.write() document.write() document.write() document.write() document.write() document.write( ) document.write( ) document.write( ) document.write( ) document.write() document.write()document.write() document.write(+imgtext1+) document.write(+imgintro1+详细 ) document.write() document.write(+imgtext2+) document.write(+imgintro2+详细 ) document.write() document.write(+imgtext3+) document.write(+imgintro3+详细 ) document.write() document.write(+imgtext4+) document.write(+imgintro4+详细 ) document.write()2、模板调用、模板调用新闻中心BODY PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 12px; BACKGROUND: #fff; PADDING-BOTTOM: 0px; MARGIN: 0px; COLOR: #000; PADDING-TOP: 0px; FONT- FAMILY: 宋体, serif; TEXT-ALIGN: center DIV BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER- LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px FORM BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER- LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px IMG BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px UL BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER- LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px OL BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER- LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px LI BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER- LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px DL BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER- LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px DT BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER- LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px DD BORDER-TOP-WIDTH: 0px; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BORDER- LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; BORDER-RIGHT-WIDTH: 0px H1 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px H2 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px H3 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px H4 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px H5 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px H6 PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: normal; FONT-SIZE: 12px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px LI LIST-STYLE-TYPE: none INPUT CURSOR: pointer BUTTON CURSOR: pointer IMG VERTICAL-ALIGN: top A:link COLOR: #000; TEXT-DECORATION: none A:visited COLOR: #83006f; TEXT-DECORATION: none A:hover COLOR: #bc2931; TEXT-DECORATION: underline A:active COLOR: #bc2931 .left FLOAT: left .right FLOAT: right .focusArea CLEAR: both; BORDER-TOP: #ccc 1px solid; BACKGROUND: url(http:/cimg2.163.com/cnews/img/bg.gif); MARGIN: 0px auto; WIDTH: 960px; BORDER- BOTTOM: #ccc 1px solid; HEIGHT: 347px .focusArea .hot CLEAR: both; PADDING-RIGHT: 8px; PADDING-LEFT: 9px; BACKGROUND: #fff; PADDING-BOTTOM: 0px; MARGIN: 0px 1px; COLOR: #1f3a87; LINE-HEIGHT: 23px; PADDING-TOP: 2px; BORDER-BOTTOM: #ccc 1px solid; HEIGHT: 23px; TEXT-ALIGN: left .focusArea .hot A COLOR: #1f3a87 .focusArea .hot A:hover COLOR: #bc2931 .focusArea .col1 FLOAT: left; WIDTH: 460px .focusArea .col2 DISPLAY: inline; BACKGROUND: #fafaf
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号