fetch('focus', true); $data['title'] = $focus['title']; $data['cookie'] = intval($focus['cookie']); $data['data'] = array(); if(is_array($focus['data'])) foreach($focus['data'] as $k => $v) { if($v['available']) { $data['data'][$k] = $v; } } savecache('focus', $data); } ?>