GetOne("SELECT typename FROM dede_arctype where id=@me"); $typename = $rows['typename']; $description2=""; $description3="已经更新了，本站提供".$typename."最新小说作品"; $description4=""; $description5="全文在线阅读以及".$typename."已经完本的小说"; $description6=""; $description7="txt全集免费下载"; $query = "select a.typename,a.overdate,b.typename as retypename from `#@__arctype` a left join `#@__arctype` b on(a.reid=b.id) where a.zuozhe='$typename' order by overdate asc"; $dsql->SetQuery($query); $dsql->Execute(); @me=""; while($row=$dsql->GetArray()){ $overdate=$row['overdate']; if($overdate=="0" || $overdate=="") { $description2.=($description2=="") ? "《".$row['typename']."》":"、《".$row['typename']."》"; $description4.=($description4=="") ? "《".$row['typename']."》":"、《".$row['typename']."》"; } else $description6.=($description6=="") ? "《".$row['typename']."》":"、《".$row['typename']."》"; } @me=$description2.$description3.$description4.$description5.$description6.$description7; {/dede:field.typeid}，{dede:field name='typename'/}全部小说作品电子书下载，{dede:field name='typename'/}小说全集免费在线阅读，尽在{dede:global.cfg_webname/}" />
{dede:include filename="head.htm"/}
当前位置：{dede:global.cfg_webname/} > {dede:field name='typename' function='str_replace("·","",@me)'/}作品集

## 热门小说推荐

{dede:sql sql='select typedir,typename from dede_arctype where reid not in(0,45) order by bookclickw limit 0,15'} [field:typename/] {/dede:sql}

## {dede:field.typename/}

{dede:field.typename runphp='yes'"} global $dsql ; $typename = @me; $row = $dsql->GetOne("select count(id) as count,sum(booksize) as booksize,sum(bookclick) as bookclick,sum(bookclickm) as bookclickm,sum(bookclickw) as bookclickw,sum(tuijian) as tuijian,sum(tuijianm) as tuijianm,sum(tuijianw) as tuijianw from `#@__arctype` where zuozhe='$typename'"); @me=""; if($row) { @me.="
- 作品数：".$row['count']."
- 总字数：".$row['booksize']."
"; @me.="
- 总点击：".$row['bookclick']."
"; @me.="
- 月点击：".$row['bookclickm']."
"; @me.="
- 周点击：".$row['bookclickw']."
"; @me.="
- 总推荐：".$row['tuijian']."
"; @me.="
- 月推荐：".$row['tuijianm']."
"; @me.="
- 周推荐：".$row['tuijianw']."
"; } {/dede:field.typename}

{dede:field.tuijian /} 推荐作家！

简介：
{dede:field name='typename'/}新书{dede:field.typeid runphp='yes'"} global $dsql ; $rows = $dsql->GetOne("SELECT typename,typedir FROM dede_arctype where id=@me"); $typename = $rows['typename']; $typedir = $rows['typedir']; $description2=""; $description3="已经更新了，本站提供".$typename."最新小说作品"; $description4=""; $description5="全文在线阅读以及".$typename."已经完本的小说"; $description6=""; $description7="txt全集免费下载"; $query = "select a.typename,a.overdate,b.typename as retypename from `#@__arctype` a left join `#@__arctype` b on(a.reid=b.id) where a.zuozhe='$typename' order by overdate asc"; $dsql->SetQuery($query); $dsql->Execute(); @me=""; while($row=$dsql->GetArray()){ $overdate=$row['overdate']; if($overdate=="0" || $overdate=="") { $description2.=($description2=="") ? "《".$row['typename']."》":"、《".$row['typename']."》"; $description4.=($description4=="") ? "《".$row['typename']."》":"、《".$row['typename']."》"; } else $description6.=($description6=="") ? "《".$row['typename']."》":"、《".$row['typename']."》"; } @me=$description2.$description3.$description4.$description5.$description6.$description7; {/dede:field.typeid}，{dede:field name='typename'/}全部小说作品txt电子书免费下载，{dede:field name='typename'/}小说全集免费在线阅读，尽在{dede:global.cfg_webname/}。

加入收藏夹
{dede:myad name='booklist31'/}
其他作家推荐

{dede:field.typeid runphp='yes'"} global $dsql ; $content=""; $n=1; $query = "SELECT COUNT(a.id) AS ano,a.zuozhe AS zuozhe,b.typeimg,b.description,b.typedir,b.tuijian,SUM(a.bookclick) AS bookclick,SUM(a.booksize) AS booksize,SUM(a.tuijian) AS booktuijian FROM dede_arctype a LEFT JOIN dede_arctype b ON(b.typename=a.zuozhe and b.reid=45) WHERE a.reid<>45 and a.reid<>0 and b.id<>@me GROUP BY a.zuozhe order by tuijian desc,booktuijian desc limit 0,10"; $dsql->SetQuery($query); $dsql->Execute(); @me=""; while($row=$dsql->GetArray()){ if($n==1) { $zuozhe=$row['zuozhe']; $newbook = $dsql->GetOne("SELECT typename,typedir FROM dede_arctype where zuozhe='$zuozhe' order by overdate"); $newbookname = $newbook['typename']; $newbooktypeidr = $newbook['typedir']; $content.="
- ".$row['zuozhe']."".$row['ano']."/".$row['booksize']."
- 作品数:".$row['ano']."
  总字数:".$row['booksize']."
  总点击:".$row['bookclick']."
  作家推荐:".$row['tuijian']."
  作品推荐:".$row['booktuijian']."
  新书:".$newbookname."
"; } else { $content.="
- ".$row['zuozhe']."".$row['ano']."/".$row['booksize']."
"; } $n++; } @me=$content; {/dede:field.typeid}

## {dede:field name='typename'/}作品集

{dede:field.typeid runphp='yes'"} global $dsql ; $rows = $dsql->GetOne("SELECT typename FROM dede_arctype where id=@me"); $typename = $rows['typename']; $query = "select a.id,a.typename,a.typedir,a.typeimg,a.zuozhe,a.booksize,a.bookclick,a.description,a.startdate,a.overdate,b.typename as retypename,b.typedir as retypedir from `#@__arctype` a left join `#@__arctype` b on(a.reid=b.id) where a.zuozhe='$typename' order by startdate desc"; $dsql->SetQuery($query); $dsql->Execute(); @me=""; while($row=$dsql->GetArray()){ $overdate=$row['overdate']; if($overdate=="0" || $overdate=="") $overdate="连载中"; else $overdate="已完结"; @me.="
".$row['typename']."（".round($row['booksize']/10000)."万字-".$overdate."）
作者:".$row['zuozhe']."
类型:".$row['retypename']."
下载:TXT下载

简介：".cn_substr(html2text($row['description']),62)." ...

"; } {/dede:field.typeid}

## 月度点击榜

{dede:field.typeid runphp='yes'"} global $dsql ; $n=1; $content=""; $query = "SELECT a.typeimg,a.typename,a.description,a.typedir,a.bookclickm,a.zuozhe,b.typedir as zuozhedir,c.typename as retypename,c.typedir as retypedir FROM dede_arctype a left join dede_arctype b on(b.typename=a.zuozhe and b.reid=45) left join dede_arctype c on(c.id=a.reid) WHERE a.reid not in(0,45) order by bookclickm desc limit 0,5"; $dsql->SetQuery($query); $dsql->Execute(); while($row=$dsql->GetArray()){ $counta=$row['bookclickm']; if($n==1) { $content.="
- ".$row['typename']."".$counta."
- 作者:".$row['zuozhe']."
  类型:[".str_replace("·","",$row['retypename'])."]
  下载:txt下载

  简介：".cn_substr(html2text($row['description']),50)."……

"; } else { $content.="
- ".$row['typename']."".$counta."
"; } $n++; } @me=$content; {/dede:field.typeid}

### 阅读提示：

您现在浏览的是{dede:field name='typename'/}的小说作品集，如果在阅读的过程中发现我们的转载有问题，请及时与我们联系！
特别提醒的是：小说作品一般都是根据作者写作当时的思考方式虚拟出来的，其情节虚构的成份比较多，切勿当真或模仿！
{dede:include filename="footer2.htm"/}
{dede:myad name='booklist11'/} {dede:myad name='booklist21'/}