SDCMS友情链接和新闻动态调用代码

SDCMS友情链接调用:
<dl>
{sdcms:loop top=”10″ table=”sd_link” where=”ispic=0 and ispass=1″ order=”ordnum desc,id desc”}
<dt><a href=”{url}” target=”_blank”>{title}</a></dt>
{/sdcms:loop}
</dl>
<dl>
{sdcms:loop top=”10″ table=”sd_link” where=”ispic=1 and ispass=1″ order=”ordnum desc,id desc”}
<dt><a href=”{url}” target=”_blank”><img src=”{pic}” width=”88″ height=”31″ alt=”{title}” border=”0″ /></a></dt>
{/sdcms:loop}
</dl>

SDCMS新闻动态调用:
<dl class=”all_list”>
{sdcms:loop table=”Sd_Info” top=”9″ where=”classid={sdcms:info_classid}{eof}<dt>没有资料</dt>{/eof}
<dt><a href=”{link}” title=”{title}” [if {isurl}=1]target=”_blank”[end if] {style}>{title len=”28″}</a></dt>
{/sdcms:loop}
</dl>

更多调用大家可以好好研究:help.sdcms.cn,本文地址:https://seosir.cc/217.html

讨论区

  • Yonaiker

    Real brain power on dpisaly. Thanks for that answer!

    2012 年 11 月 10 日 14:13

  • 奇迹SF:

    一个好网址

    2016 年 9 月 11 日 09:23