{dede:include filename="head.htm"/}

## {dede:arclist typid='top' row="2" titlelen="28" flag="h"} [field:title /] {/dede:arclist}

# {dede:field.typeid runphp='yes'} $ID = @me; $sql = "SELECT * FROM `dede_arctype` WHERE id=$ID";$query = mysql_query($sql);$row=mysql_fetch_array($query); $relID = "$row[reid]"; if($relID == 0) { @me = "".$row['typename'].""; $url=$cfg_basehost.$cfg_cmspath;@me=str_replace('{cmspath}', $url,@me); } else { $sql = "SELECT * FROM `dede_arctype` WHERE id=$relID";$query = mysql_query($sql);$row=mysql_fetch_array($query); @me = "".$row['typename'].""; $url=$cfg_basehost.$cfg_cmspath;@me=str_replace('{cmspath}',$url,@me); } {/dede:field.typeid}

{dede:global.cfg_indexname/}首页
{dede:include filename="sc.htm"/}

{dede:list pagesize='20' titlelen=80}

- ## [field:title/]

- [field:pubdate runphp='yes'] $a="日"; $b="今日"; $c=strftime("%Y%m%d","@me"); $d=date(Ymd); $e=strftime("%d","@me"); if($c==$d) @me = $b; else @me = $e.$a; [/field:pubdate]

  [field:description/]...

  关键词：[field:id runphp='yes'] global $cfg_cmspath; $tags = GetTags(@me); $revalue = ''; $tags = explode(',', $tags); foreach($tags as $key => $value){ if($value){ $revalue .= ''.$value.', '; } } @me = substr($revalue,0,-2); [/field:id]

{/dede:list}
{dede:include filename="link.htm"/} {dede:include filename="footer.htm"/}