福州电脑网_福州电脑维修_福州电脑之家_福州iThome

福州电脑网_福州电脑维修_福州电脑之家_福州iThome

福州电脑维修网(fzithome.com)专业的电脑维修,笔记本维修,上门维修各种电脑,笔记本,平板等,快速上门.电脑知识频道内容覆盖:计算机资讯,电脑基础应用知识,各种电脑故障维修学习,电脑外设产品维修维护,病毒,软件,硬件,常识.

    lue($arrlist, 'sticky'); /*if ($slide) { if (0 != count($arrlist['sticky']) % 2) { $i = 0; foreach ($arrlist['sticky'] as $key => &$_thread) { if (1 == ++$i) { $slide[] = $_thread; } } } }*/ $first_flag = NULL; $flaglist = NULL; if (isset($arrlist['flaglist'])) { $flaglist = $arrlist['flaglist']; $first_flag = reset($arrlist['flaglist']); $first_flag = $first_flag['list']; } // 友情链接 $linklist = link_get(1, $conf['linksize']); } elseif (2 == $website_mode) { // 扁平模式 $page = param(1, 1); $pagesize = $conf['pagesize']; $threadlist = $tidlist = NULL; $threads = 0; if (1 == $thread_list_from_default) { if (empty($forumlist_show)) { } else { $fids = array(); $threads = 0; foreach ($forumlist_show as $key => $val) { if (1 == $val['type'] && 1 == $val['display'] && 0 == $val['category']) { $fids[] = $val['fid']; $threads += $val['threads']; } } $tidlist = empty($fids) ? array() : thread_tid_find_by_fid($fids, $page, $conf['pagesize'], TRUE); } } // 置顶 $stickylist = 1 == $page ? sticky_index_thread() : array(); $arr = array('tidlist' => $tidlist, 'stickylist' => $stickylist); $arrlist = thread_unified_pull($arr); $threadlist = array_value($arrlist, 'threadlist'); $flaglist = array_value($arrlist, 'flaglist'); // 友情链接 $linklist = link_get(1, $conf['linksize']); $page_url = url($route . '-{page}', $extra); $num = $threads > $pagesize * $conf['listsize'] ? $pagesize * $conf['listsize'] : $threads; $pagination = pagination($page_url, $num, $page, $pagesize); $allowdelete = group_access($gid, 'allowdelete'); $allowtop = group_access($gid, 'allowtop'); $allowmove = group_access($gid, 'allowmove'); $apilist['access'] = $access = array('allowdelete' => $allowdelete, 'allowtop' => $allowtop, 'allowmove' => $allowmove); } // SEO $header['title'] = $conf['sitename']; $header['keywords'] = $conf['sitename']; $header['description'] = strip_tags($conf['sitebrief']); $_SESSION['fid'] = $fid; $active = 'default'; if ($ajax) { $apilist['header'] = $header; $apilist['extra'] = $extra; $apilist['num'] = $num; $apilist['page'] = $page; $apilist['pagesize'] = $pagesize; $apilist['page_url'] = $page_url; $apilist['active'] = $active; $apilist['arrlist'] = $arrlist; $apilist['stickylist'] = $stickylist; $conf['api_on'] ? message(0, $apilist) : message(0, lang('closed')); } else { include _include(theme_load('index')); } ?>