1, 'product' => 2, 'page' => 3, 'image' => 4, 'download' => 5, 'video' => 7, 'recruit' => 9); $channel = !empty($id) ? tpl_channel($id) : (isset($typeMap[$module]) ? tpl_root_channel($typeMap[$module]) : null); $route = $channel ? tpl_content_route($channel['channel_type']) : (isset($typeMap[$module]) ? $module : 'article'); $title = $channel ? $channel['channel_name'] : tpl_channel_title(isset($typeMap[$route]) ? $typeMap[$route] : 1); if ($route === 'product' && (!$channel || intval($channel['parent_id']) === 0)) { $title = '产品中心'; } if ($route === 'article' && (!$channel || intval($channel['parent_id']) === 0)) { $title = '新闻资讯'; } $tplNavKey = $route === 'product' ? 'product' : ($route === 'article' ? 'news' : 'home'); if ($route === 'article' && $channel) { $newsRoot = tpl_root_channel(1); $newsChildren = $newsRoot ? tpl_channels($newsRoot['id']) : array(); if (!empty($newsChildren[1]) && intval($channel['id']) === intval($newsChildren[1]['id'])) { $tplNavKey = 'technical'; } } $pageSize = $route === 'article' ? 6 : ($route === 'product' ? 12 : 9); $result = tpl_query_items($route, $channel ? $channel['id'] : 0, $pageSize, null, isset($_GET['keyword']) ? $_GET['keyword'] : ''); $baseUrl = $channel ? getUrl('channel', $channel['id'], $channel['channel_dir']) : getUrl($route); $seoTitle = $title; $seoKeywords = $channel && !empty($channel['seo_keywords']) ? $channel['seo_keywords'] : ''; $seoDescription = $channel && !empty($channel['seo_description']) ? $channel['seo_description'] : ''; $bodyClass = 'k620-inner-page'; require_once __DIR__ . '/../_header.php'; tpl_inner_banner($title, $route); ?>
  • <?php echo tpl_e($item['title']); ?>
  • 暂无产品内容
  • 暂无资讯内容
<?php echo tpl_e($item['title']); ?>

暂无相关内容