$value) { $leftmenu[$value] = array('title' => lang($value), 'active' => ''); if ($value == $op) $leftmenu[$value]['active'] = 'class="active"'; } include libfile('function/cache'); $navtitle = lang('updatecache') . ' - ' . lang('admin_navtitle'); $step = max(1, intval($_GET['step'])); if ($step == 1) { } elseif ($step == 2) { $type = implode('_', (array)$_GET['type']); } elseif ($step == 3) { $type = explode('_', $_GET['type']); if (in_array('data', $type)) { updatecache(); } if (in_array('tpl', $type) && $_G['config']['output']['tplrefresh']) { cleartemplatecache(); } if (in_array('memory', $type)) { //清空内存缓存 C::memory()->clear(); } } include template('updatecache'); ?>