首页| 版块| 我的| 发帖| 消息
主题:关于帖子收藏排行Top50
zhangjingyu 
继续以“activeCurrentFilter”进行搜索,apps/hot/lib/utility.class.php
function activeCurrentFilter($rt,$fTime,&$fType,$from='index') {
$from == 'admin' && $s = "[".$rt["id"]."]";
$fTypeData = ( array ) unserialize ( $rt ['filter_type'] );
if ($fTypeData ['current']) {
if($fType){
$fTypeData ['current'] = $fType;
}else{
$fType = $fTypeData ['current'];
}
$result ['filterTypeData'] = $fTypeData;
$tc = $this->getFilterSelect ( "fType$s", $this->getFilter ( $rt ['tag'], 'type' ), $fTypeData, '', $from );
$result ['selectType'] = $tc['select'];
$result ['currentType'] = $tc['ct'];
}
$fTimeData = ( array ) unserialize ( $rt ['filter_time'] );
if ($fTimeData ['current']) {
$fTime && $fTimeData ['current'] = $fTime;
$result ['filterTimeData'] = $fTimeData;
$tc = $this->getFilterSelect ( "fTime$s", $this->getFilter ( $rt ['tag'], 'time' ), $fTimeData, $rt ['type_name'],$from );
$result ['selectTime'] = $tc['select'];
$result ['currentTime'] = $tc['ct'];
}
!$result && $from == 'index' && $result = $rt['filter_type'];
return $result;
}
zhangjingyu回帖于2018-08-10 16:22[查看电脑版]
下一楼»:还是同一文件(上面代码的上面):
function HotModuleUtility() {
global $credit;(zhangjingyu)
«上一楼:该文件继续(getThreadsHot)
function getThreadsHot($rt,$fTime,&$fType){
$filte ..

查看全部回帖(77)
«返回主帖