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

{dede:php} global $dsql,$cfg_tui; $query = "SELECT * FROM `#@__arctype` WHERE id in ($cfg_tui) order by find_in_set(id,'".$cfg_tui."')"; $dsql->SetQuery($query); $dsql->Execute(); $s=""; while($row=$dsql->GetArray()){ preg_match("/src=\".*\"/Ui",$row["content"],$row["content"]); $row["content"]=$row["content"][0]; $typeurl=GetOneTypeUrlA($row); $s=$s."

- #### ".$row["typename"]."

"; } echo $s; {/dede:php}

##### 最新入库推荐小说

##### 最近更新小说章节

{dede:php} $query = "select * from `#@__arctype` order by id desc limit 0,8"; $dsql->SetQuery($query,"a"); $dsql->Execute("a"); while($row=$dsql->GetArray("a")){ $typeurl=GetOneTypeUrlA($row); preg_match("/src=\".*\"/Ui",$row["content"],$row["content"]); $row["content"]=$row["content"][0]; echo "
"; echo "
"; echo "

### ".$row['typename']."

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

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

"; echo"
"; } {/dede:php}

{dede:arclist row='30' titlelen='80' orderby='pubdate' idlist=''}
- [[field:typename/]][field:title/][field:pubdate function=mydate('m-d',@me)/]
{/dede:arclist}

##### 友情链接

{dede:flink/}

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