温馨提醒:购彩有风险,请理性投注。禁止向不满18岁的未成年人销售
{dede:channelartlist typeid=2,0}{dede:field name='typename'/}{/dede:channelartlist}
{dede:type typeid='1'}[field:typename/]{/dede:type}
{dede:global.cfg_powerby/} {dede:global.cfg_beian/}
{dede:include filename="head.htm"/}
{dede:include filename="footer.htm"/}
友情链接:{dede:flink row='30'/}
{dede:flink row='24' titlelen="24" typeid="0"}
[field:link /]
{/dede:flink}
当前位置:{dede:field name='position'/}
最新文章:
{dede:arclist row=10 titlelen=32 typeid=1 }
<li><span>[field:pubdate function="MyDate('m-d',@me)"/]</span><a href="[field:arcurl/]" target='_blank'>[field:title/]</a></li>
{/dede:arclist}
{dede:arclist row=10 titlelen=32 typeid=1,2 orderby=click }
<li><a href="[field:arcurl/]" target='_blank'>[field:title/]</a></li>
{/dede:arclist}
头条:
{dede:arclist titlelen=32 typeid=1 limit='0,1' infolen='150' }
<h2><a href="[field:arcurl/]" target='_blank'>[field:title/]</a></h2>
<p>[field:info/]...<a href="[field:arcurl/]">[查看全文]</a></p>
{/dede:arclist}
首页:
<title>{dede:global.cfg_webname/}</title>
<meta name="description" content="{dede:global.cfg_description/}" />
<meta name="keywords" content="{dede:global.cfg_keywords/}" />
列表页tit:
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field name='keywords'/}" />
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
<link href="{dede:global.cfg_templets_skin/}/style/dedecms.css" rel="stylesheet" media="screen" type="text/css" />
head.htm:
<li><a href="{dede:global.cfg_cmsurl/}/" class="home"><span>首页</span></a></li>
{dede:channel type='top' row='4' current}
<li > <a href="[field:typeurl/]" target="_self"><span>[field:typename/]</span></a></li>
{/dede:channel}
图文资讯:
{dede:arclist row=10 orderby=pubdate type='image.' titlelen=32 imgwidth='143' imgheight='106'}
<li><a href="[field:arcurl/]" target="_blank" >[field:image/]<span class="title">[field:title/]</span></a></li>
{/dede:arclist}
列表:
{dede:list pagesize='25'}
<div class="title"><a href="[field:arcurl/]" target="_blank" >[field:title/]</a></div>
<div class="foot">
日期:<span>[field:pubdate function="MyDate('Y-m-d',@me)"/]</span>
</div>
简介:[field:description/]...
[field:description function='cn_substr(@me,200)'/]...
缩略图:[field:array runphp='yes']@me = (empty(@me['litpic']) ? "" : "<a href='{@me['arcurl']}' class='preview'><img src='{@me['litpic']}'/></a>"); [/field:array]
分类:[field:typelink/]
点击:[field:click/]
{/dede:list}
分页:
{dede:pagelist listitem="info,index,end,pre,next,pageno,option" listsize="5"/}
文章题目
:
{dede:field.title/}
{dede:field.body/}
发布时间:{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}
来源:{dede:field.source/}
浏览量:<script src="{dede:field name='phpurl'/}/count.php?view=yes&aid={dede:field name='id'/}&mid={dede:field name='mid'/}" type='text/javascript' language="javascript"></script>
责任编辑:{dede:adminname/}
上一篇 下一篇:
<div class="context">
<ul>
<li>{dede:prenext get='pre'/}</li>
<li>{dede:prenext get='next'/}</li>
</ul>
</div>
相关文章:
<DIV class=box_xg>
<DIV class=title_xg>相关文章列表</DIV>
<ul>
{dede:likearticle row=10 titlelen='50' }
<li>·<a href="[field:arcurl/]" target="_blank" title="[field:title/]">[field:title/]</a></li>
{/dede:likearticle}
</UL></DIV>
相关文章css:
.box_xg {
BORDER-RIGHT: #e3e3e3 1px solid; BORDER-TOP: #e3e3e3 1px solid; MARGIN-BOTTOM: 10px; BORDER-LEFT: #e3e3e3 1px solid; BORDER-BOTTOM: #e3e3e3 1px solid
}
.box_xg .title_xg {
BORDER-RIGHT: #fff 1px solid; BORDER-TOP: #fff 1px solid; PADDING-LEFT: 15px; FONT-WEIGHT: bold; BACKGROUND: #f0f0f0; BORDER-LEFT: #fff 1px solid; LINE-HEIGHT: 26px; BORDER-BOTTOM: #fff 1px solid; HEIGHT: 26px; FONT-SIZE: 14px;
}
.
box_xg UL {
PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; OVERFLOW: hidden; PADDING-TOP: 6px; HEIGHT: 1%
}
.box_xg UL LI {
DISPLAY: block; FONT-SIZE: 14px; FLOAT: left; OVERFLOW: hidden; WIDTH: 49%; TEXT-INDENT: 12px; LINE-HEIGHT: 24px; HEIGHT: 24px
}
基偶数:
织梦模板免费吗[field:global name=autoindex runphp="yes"]if(@me % 2 == 0){@me="class='red'";}else{@me="class='white'";}[/field:global]
数字递增:
[field:autoindex runphp='yes']@me=$GLOBALS['autoindex']+0;[/field:autoindex]
[field:global.autoindex/]
设为首页:加入收藏:
<a href=""onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('{dede:global.cfg_basehost/}');">设为首页</a>
<a href="al.AddFavorite('{dede:global.cfg_basehost/}','{dede:global.cfg_webname/}')">加入收藏</a>
公共列表:
<div class="newslist">
<ul>
{dede:list pagesize='20'}
<li> <span>[field:pubdate function="MyDate('m-d',@me)"/]</span><a href="[field:arcurl/]" class="title" target="_blank" >[field:title/]</a></li>
{/dede:list}
</ul>
</div>
公共列表样式:
.newslist{ padding:0 15px; overflow:hidden;background:#FFF;}
.newslist ul{ padding:0px; margin:5px;}
.newslist ul li{ padding:0px 10px; height:30px; line-height:30px; overflow:hidden; border-bottom:1px #CCCCCC dashed; font-size:14px;}
.newslist ul li span{ float:right;}
简单瘦www.jiandanshou jianfei8辛苦整理,转载请保留链接
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论