{include file="style"} {include file="header"}
{:ad(2)}

搜索 ‘{:get('ks','全部')}’ 相关的内容

    {php} $mx=Db(get('m','article')) ->order('id desc')->where('time<'.time().'') ->where('open',1)->where('title|content|keywords','like','%'.input('ks').'%') ->paginate(10, false, $config = ['query' => array('m' => get('m','article'),'ks' => input('ks'))]); {/php} {volist name="$mx" id="vo" empty="

    无数据

    "}
  • {$vo.title}

    {:cut($vo.description,100)}

    {$vo.laiyuan} {$vo.time|times} {$vo.view}
  • {/volist}
{$mx->render()}

热门

    {volist name=":Db(get('m','article')) ->where('time<'.time().'') ->where(array('open'=>1)) ->order('view desc') ->limit(10) ->select()" id="vo"}
  • {$i}{$vo.title}
  • {/volist}
{if 1==2}

推荐

    {volist name=":Db(get('m','article')) ->where('time<'.time().'') ->where(array('open'=>1)) ->order('settop desc') ->limit(10) ->select()" id="vo"}
  • {$i}{$vo.title}
  • {/volist}
{/if}
{include file="footer"}