Skip to main content
 Web开发网 » 站长学院 » 织梦教程

织梦autoindex从02开始到10的写法

2020年09月12日6500百度已收录

写法如下:

 

{dede:arclist }

 [field:global name='autoindex' runphp='yes']if(@me%10==0){@me='10';}else{@me='0'.@me=$GLOBALS['autoindex']+1;}[/field:global]

{/dede:arclist}


 

评论列表暂无评论
发表评论
微信