{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='javascrip' ></script>
還有一條動態(tài)的:{dede:global.cfg_basehost/}{dede:field.id runphp='yes'}$result=GetOneArchive(@me);@me=$result['arcurl'];{/dede:field.id}
{dede:tag row='10' sort='new' getall='0'} <a href="[field:link/]">[field:tag /]</a> {/dede:tag}
{dede:prenext get='pre'/} / {dede:prenext get='next'/}
{dede:productimagelist} <img src="[field:imgsrc/]" alt="[field:text/]"/> {/dede:productimagelist}
{dede:list pagesize='10' titlelen='255'} <a href='[field:arcurl/]'>[field:title/]</a> {/dede:list}
該標簽只適用于列表頁
pagesize //調取文章的數(shù)量
titlelen //標題字符長度
{dede:pagelist listitem='index,pre,next,pageno,end,info,option,' /}
與{dede:list}相配合實現(xiàn)列表分頁效果 解釋:index//第一頁、end//末頁、pre//上一頁、next//下一頁、pageno//頁碼、info//條數(shù)信息、option//下拉框
[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]
{dede:field.typename/}
{dede:type typeid='1'}<a href='[field:typeurl/]'>[field:typename/]</a>{/dede:type}
{dede:field.content/}
[field:title/]
[field:arcurl/]
[field:shorttitle/]
[field:pubdate function='GetDateTimeMK(@me)' /]
[field:pubdate function="MyDate('Y-m-d H:i:s',@me)"/]
[field:picname/]
[field:description function="cn_substr(@me,255)"/]
[field:typelink/]
[field:click/]
加技術微信溝通更方便