$v){ $help_con[$key]['title'] = $v; } foreach($helps as $key => $v){ $a_key = explode('_',$key); if(count($a_key)!==2) continue; $r['title'] = $v; $r['id'] = $key; $help_con[$a_key[0]]['childs'][] = $r; } $k = udecode($_GET['k']); if(empty($k)) $k = 'help_gz'; $p = Table::Fetch('page',$k); $hcon['con'] = $p['value']; $hcon['title'] = $pages[$k]; $pagetitle = '帮助中心'; include template('help'); ?>