当前位置:文档之家› DEDECMS调用指定栏目图片标签代码

DEDECMS调用指定栏目图片标签代码

织梦的调用代码:
<DIV class=title2> {de:
type typeid='6'}
<H3>[field:
typename /]</H3>
{/de:
type}
<DIVclass=more><Ahref="{de:
type typeid='9'}[field:
typelink /]{/de:
type}"><IMGsrc="{de:
global.cfg_templets_skin/}/images/more.gif"></A></DIV> </DIV>
<DIV class=left_b>
<DIV class=game_img>
<UL>
{de:
arclist typeid='6' row='3' titlen='10' type='image.'}
<LI><A href="[field:
arcurl/]" target=_blank><IMG src="[field:
litpic/]"></A><SPAN> <A href="[field:
arcurl/]" target=_blank>[field:
title/]</A></SPAN> {/de:
arclist} </LI>
</UL>
</DIV>
<DIV class=game_list>
<UL>
{de:
arclist typeid='6' row='9' titlen='14'}
<LI><A
</UL>
</DIV>
</DIV>
代码解释:
代码分为三段,第一段和第三段上一讲已讲过了,不再重复。

第二段代码其实上一讲也讲过了,只是多了一点内容。

type='image.'调用有缩略图的内容。

[field:
litpic/]调用出缩略图的地址。

title="[field:
title/]"href="[field:
arcurl/]"target=_blank>[field:
title/]</A>{/de: arclist} </LI>。

相关主题