'; $str .= ''; $str .= '
'; $str .= ''; return $str; } function get_skin_list( $skin_type="") { $skin_path = VIEWPATH . DIRECTORY_SEPARATOR . DIR_SKIN . DIRECTORY_SEPARATOR . $skin_type; $CI =& get_instance(); $CI->load->helper('directory'); $map = directory_map($skin_path, 1); $return = array(); if( is_array($map)) { foreach($map as $skins) { $return[] = str_replace(DIRECTORY_SEPARATOR , "", $skins); } } return $return; }