get_one($itemid); $do->update_clicked($itemid); $item && $item['status'] == 3 or eheader('/404.php'); $user = user_info($item[editor]); if($item[editor]=='admin'){ $editor = '中网市场-资讯中心'; }else{ $editor = $user[nickname] ? $user[nickname] : $item[editor]; } $item['tag'] = explode(',',$item['tag']); $item['adddate'] = timetodate($item['addtime'],3); $item['video_url'] = 'http://www.eqfc.cn/api/videoplayer.php?url=' . urlencode($item['videourl']); $CAT = get_cat($item['catid']); //内容分页 $pages = ''; if(strpos($item['content'], '[pagebreak]') !== false) { $item['content'] = explode('[pagebreak]', $item['content']); $total = count($item['content']); $pages = item_pages($item, $total, $page); $item['content'] = $item['content'][$page-1]; } $item['clicked'] = 11200 + $item['clicked']; $seo_file = 'item'; include EW_ROOT."/include/seo.inc.php"; $template = $item['template'] ? $item['template'] : 'item'; require_once EW_ROOT . '/lib/Mobile-Detect/Mobile_Detect.php'; $detect = new Mobile_Detect; if( $detect->isMobile() ) { include template('item_mobile',$MOD['moduledir']); } else { include template($template,$MOD['moduledir']); } //include template($template,$MOD['moduledir']); require EW_ROOT."/common.end.php"; ?>