getLinkList(); /** * 整理图片链接 */ if (is_array($link_list)) { foreach ($link_list as $k => $v) { if (!empty($v['link_pic'])) { $link_list[$k]['link_pic'] = ds_get_pic(DIR_ADMIN . '/link', $v['link_pic']); } } } View::assign('link_list', $link_list); View::assign('link', 'index'); return View::fetch($this->template_dir . 'link'); } }