.my_pages{clear:both!important;padding:5px 0 0;text-align:center;margin:5px auto;line-height:30px;} .my_pages ul{text-align:center;list-style:none;} .my_pages ul li{list-style:none;text-align:center;height:24px;display:inline;margin:0 2px;padding:0;overflow:hidden;white-space:nowrap;font-size:13px;} .my_pages ul li a{background:#fff;color:#555;display:inline;height:24px;overflow:hidden;padding:6px 10px;margin:0;border: #999 1px solid;} .my_pages ul li a:hover{color:#fff;background:#FF6600;border:#FF6600 1px solid;height:24px;overflow:hidden;text-decoration:none;cursor:pointer;} .my_pages ul li.thisclass a{background:#FF6600;border:#FF6600 1px solid;height:24px;overflow:hidden;color:#fff;font-weight:700;}Copy标签
{dede:type}[field:typeurl/]{/dede:type}Copy标签
{dede:list pagesize='10' titlelen='255'} <a href='[field:arcurl/]'>[field:title/]</a> {/dede:list}
该标签只适用于列表页
pagesize //调取文章的数量
titlelen //标题字符长度
Copy标签{dede:pagelist listitem='index,pre,next,pageno,end,info,option,' /}
与{dede:list}相配合实现列表分页效果 解释:index//第一页、end//末页、pre//上一页、next//下一页、pageno//页码、info//条数信息、option//下拉框
Copy标签[field:global.autoindex/]
默认从"1"开始
从"0"开始//
[field:autoindex runphp='yes']@me=$GLOBALS['autoindex']-1;[/field:autoindex]
从"2"开始//
[field:autoindex runphp='yes']@me=$GLOBALS['autoindex']+1;[/field:autoindex]
Copy标签{dede:field.typename/}Copy标签
{dede:type typeid='1'}<a href='[field:typeurl/]'>[field:typename/]</a>{/dede:type}Copy标签
{dede:field.content/}Copy标签
[field:title/]Copy标签
[field:arcurl/]Copy标签
[field:shorttitle/]Copy标签
[field:pubdate function='GetDateTimeMK(@me)' /]Copy标签
[field:pubdate function="MyDate('Y-m-d H:i:s',@me)"/]Copy标签
[field:picname/]Copy标签
[field:description function="cn_substr(@me,255)"/]Copy标签
[field:typelink/]Copy标签
[field:click/]Copy标签