cachelist = $cachelist; $discuz->init(); if(in_array($discuz->var['mod'], $modarray) || !empty($_G['setting']['search'][$discuz->var['mod']]['status'])) { $mod = $discuz->var['mod']; } else { foreach($_G['setting']['search'] as $mod => $value) { if(!empty($value['status'])) { break; } } } if(empty($mod)) { showmessage('search_closed'); } define('CURMODULE', $mod); runhooks(); require_once libfile('function/search'); $navtitle = lang('core', 'title_search'); if($mod == 'curforum') { $mod = 'forum'; $_GET['srchfid'] = array($_GET['srhfid']); } elseif($mod == 'forum') { $_GET['srhfid'] = 0; } require DISCUZ_ROOT.'./source/module/search/search_'.$mod.'.php'; ?>ǮФ