{dede:php} global $syId; function getId($id){ global $dsql; global $syId; $dsql->Execute('tmp','SELECT * FROM dede_arctype WHERE id ='.$id); $fid=$dsql->getArray('tmp'); $fid=$fid['reid']; $syId = $fid; if($fid&&$fid!=='3155'){ return getId($fid); } return $id; } global $myId; $myId = getId($_sys_globals['typeid']); include_once(DEDEDATA."/customdata/danji/single/common.inc"); include_once(DEDEDATA."/customdata/danji/single/".$myId."/list.inc"); {/dede:php}
{dede:include filename="zz_ad_head_common.htm"/}
{dede:field name='position'/}
小编导读

{dede:field name='description'/}

{dede:pagelist listitem="info,index,pre,pageno,next,end" listsize="2"/}
{dede:include filename="zz_ad_native_list.htm"/}
qq
{dede:include filename="zz_ad_right_top.htm"/}
文章推荐
+更多
    {dede:php} global $dsql; $recommend_id= $all_id['recommend']; $dsql->Execute('suc','SELECT * FROM dede_archives WHERE arcrank <> -1 AND FIND_IN_SET("c",flag) AND typeid IN (SELECT id FROM dede_arctype WHERE reid = '.$recommend_id.') ORDER BY sortrank DESC LIMIT 8'); $str=''; while($arr=$dsql->GetArray('suc')) { $url = GetOneArchive($arr['id']); $str .='
  • '.date("m/d",$url['pubdate']).''.$url['title'].'
  • '; } echo $str; {/dede:php}
精彩视频
+更多
    {dede:php} global $dsql; $video_id= $all_id['videos']; $dsql->Execute('suc','SELECT * FROM dede_archives WHERE arcrank <> -1 AND typeid='.$video_id.' ORDER BY sortrank DESC LIMIT 4'); $str=''; while($arr=$dsql->GetArray('suc')) { $url = GetOneArchive($arr['id']); $str .='
  • '.$url['title'].'

    '.$url['title'].'

  • '; } echo $str; {/dede:php}
主播排行
+更多
    {dede:php} $index = 1; foreach($zhubo_rank as $k=>$v){ echo '
  • '.$index.'
    '.$v['name'].'

    '.$v['des'].'

    '.$v['name'].'
  • '; $index++; } {/dede:php}
游戏推荐
+更多
    {dede:php} foreach($hot_game as $k=>$v){ echo '
  • '.$v['title'].'

    '.$v['title'].'

  • '; } {/dede:php}
热门资讯
+更多
    {dede:arclist row='10' titlelen='70' typeid="4111" getall="1"}
  • [field:pubdate function="MyDate('m/d',@me)" /][field:title/]
  • {/dede:arclist}