{sdcms:include("Sdcms_Head.htm")}
最新信息
{sdcms:loop field="id,title,classid,isurl,ClassUrl,htmlname,jj" table="View_info" top="1" where="ontop=1 and ispass=1"}

# {title len="26"}

{jj function="nohtml" len="80"} {/sdcms:loop}

{sdcms:loop field="id,title,adddate,classid,isurl,ClassUrl,ClassName,htmlname,Style" table="View_info" top="5" where="ispass=1"} {eof}
没有资料
{/eof}
{adddate date="mm.dd"}[{classname}] {title len="26"}
{/sdcms:loop}

图文信息

最新信息
信息排行

{sdcms:loop field="id,title,classid,isurl,pic,ClassUrl,htmlname" table="View_info" top="8" where="ispic=1 and ispass=1"}
{title len="16"}
{/sdcms:loop}

{sdcms:loop field="id,title,classid,isurl,pic,ClassUrl,htmlname" table="View_info" top="8" where="ispic=1 and ispass=1" order="hits desc,id desc"}
{title len="16"}
{/sdcms:loop}

{@sdcms:loop field="id,title,ClassUrl,allclassid" table="sd_class" top="8" where="followid=0" order="ordnum,id"}
更多>>{@title}

{sdcms:loop field="id,title,adddate,classid,isurl,ClassUrl,htmlname,Style" table="View_info" where="classid in({@allclassid}) and ispass=1"} {eof}
没有资料
{/eof}
{adddate date="mm.dd"}{title len="36"}
{/sdcms:loop}

[@if {@i}=2]
广告位示范，如果不需要可通过首页模板删除此段代码，也可以自己定义广告代码！
[@end if] {/@sdcms:loop}
热门

信息排行
推荐信息

{sdcms:loop field="id,title,isurl,ClassUrl,htmlname,jj,Style" table="View_info" top="5" where="ispass=1" order="hits desc,id desc"}
顶一下
{title len="26"}
{jj function="nohtml" len="60"}
{/sdcms:loop}

{sdcms:loop field="id,title,isurl,pic,ClassUrl,htmlname,jj" table="View_info" top="1" where="isnice=1 and ispic=1 and ispass=1"}
{title len="16"}
{jj function="nohtml" len="38"}
{/sdcms:loop} {sdcms:loop field="id,title,adddate,isurl,ClassUrl,htmlname" table="View_info" top="9" where="isnice=1 and ispass=1"}
{adddate date="mm.dd"}{title len="36"}
{/sdcms:loop}

更多>>专题

{sdcms:loop field="id,title" top="4" table="sd_Topic"} {eof}
没有专题{/eof}
{title len="36"}
{/sdcms:loop}

更多>>标签
{sdcms:loop field="title,followid" top="10" table="sd_tags"}{title}({followid}) {/sdcms:loop}
互动

最新留言
最新评论

{sdcms:loop field="adddate,content" table="Sd_Book" top="10" where="ispass=1"} {eof}
没有资料
{/eof}
{adddate date="mm.dd"}{content len="26" function="nohtml"}
{/sdcms:loop}

{sdcms:loop field="adddate,id,content,infoid" table="Sd_Comment" top="10" where="ispass=1"} {eof}
没有资料
{/eof}
{adddate date="mm.dd"}{content function="nohtml" len="26"}
{/sdcms:loop}

最新投票

{sdcms:loop table="sd_vote" top="1"}

### {title}

[for k=0 to {vote function="ubound"}]
[votename]([percent])
[vote={vote}][result={result}][next]
{/sdcms:loop}

友情链接

更多>>

{sdcms:loop top="20" table="sd_link" where="ispic=0 and ispass=1" order="ordnum desc,id desc"}
{title}
{/sdcms:loop}

{sdcms:loop top="20" table="sd_link" where="ispic=1 and ispass=1" order="ordnum desc,id desc"}
{/sdcms:loop}

{sdcms:include("sdcms_foot.htm")}