{dede:include filename="head.htm"/}
{dede:field name='position'/}

##### {dede:field.title/}典籍

{dede:myad name='fenxang'/}
{dede:field.typeid runphp="yes"} global $dsql; $tid=@me; $tid=GetSonIds($tid,0,false); $query = "SELECT * FROM `#@__arctype` WHERE id in($tid) order by id desc"; $dsql->SetQuery($query); $dsql->Execute(); $s=""; while($row=$dsql->GetArray()){ $typeurl=GetOneTypeUrlA($row); $s=$s."
"; $s=$s."
"; $s=$s.""; preg_match("/src=\".*\"/Ui",$row["content"],$a); $s=$s.""; $s=$s."
"; $s=$s."

### {$row['typename']}

作者："; $s=$s."{$row['seotitle']} "; $s=$s." 最后更新：[$data]"; $s=$s ."
"; $arcstr = ''; $url=''; $dsql->SetQuery("Select * From #@__archives where typeid='{$row[id]}' order by id desc limit 0,2 "); $dsql->Execute('t'); while($row1 = $dsql->GetArray('t',MYSQL_ASSOC)){ $title=cn_substr($row1['title'],46); $id=$row1['id']; $url=GetOneArchive($id); $data=date("m-d",$row1['senddate']); $arcstr .= "".$title." "; } $s=$s."{$arcstr}

".cn_substr($row['description'],140)."...

"; } @me=$s; {/dede:field.typeid}
{dede:include filename="footer.htm"/}