dedecms调取代码组合词调取关于调取ID调取
关于调取
{dede:sql sql="SELECT * FROM dede_archives WHERE title LIKE '%~函数~%' and title LIKE '%汉字%' or title LIKE '%~函数~%' and title LIKE '%汉字%' order by click desc limit 9 offset 0"}<a href="[field:id runphp='yes'] $id=@me;@me='';$url=GetOneArchive($id);@me=$url['arcurl'];[/field:id]" title="[field:title/]" target="_blank">[field:title function=cn_substr(@me,100,0)/]</a>
{/dede:sql}
组合词调取
{dede:sql sql="SELECT * FROM dede_archives where title LIKE '%公司%' and title LIKE '%注册地址%'and arcrank LIKE '%0%'order by click desc limit 10 offset 1"}<li><a href='[field:id runphp='yes'] $id=@me;@me='';$url=GetOneArchive($id);@me=$url['arcurl'];[/field:id]' title="[field:title/]" target="_blank">[field:title function=cn_substr(@me,40,0)/]</a></li>
{/dede:sql}
ID调取
{dede:arclist idlist='756,411,184,582,486,612,864,859,878,877' titlelen=50}<li><a href='[field:arcurl/]'>[field:title/]</a></li>
{/dede:arclist}