소스 검색

Update tag.lib.php

pull/58/head
叙述、别离 1 개월 전
부모
커밋
697101c2fc
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/system/taglib/tag.lib.php

+ 2
- 2
src/system/taglib/tag.lib.php 파일 보기

@@ -38,12 +38,12 @@ function lib_tag(&$ctag, &$refObj)
$addsql .= " WHERE typeid='$typeid' ";
}
}
if ($ltype == 'rand') $orderby = 'rand() ';
if ($ltype == 'rand') $orderby = ' rand() ';
else if ($ltype == 'week') $orderby = ' weekcc DESC ';
else if ($ltype == 'month') $orderby = ' monthcc DESC ';
else if ($ltype == 'hot') $orderby = ' count DESC ';
else if ($ltype == 'total') $orderby = ' total DESC ';
else $orderby = 'addtime DESC ';
else $orderby = ' addtime DESC ';
$dsql->SetQuery("SELECT * FROM `#@__tagindex` $addsql ORDER BY $orderby LIMIT 0,$num");
$dsql->Execute();
$ctp = new DedeTagParse();


불러오는 중...
취소
저장