require_once __DIR__ . '/../config.php'; error_reporting(0); header('Content-Type: text/html; charset=utf-8'); preg_match('#/news/(\d+)\.html#', $_SERVER['REQUEST_URI'], $match); $id = isset($match[1]) ? intval($match[1]) : 0; if ($_SERVER['REQUEST_URI'] == '/news/' || $_SERVER['REQUEST_URI'] == '/news') { $id = 1; } $titleFile = __DIR__ . '/../seo/gjc.txt'; $longTailFile = __DIR__ . '/../seo/cwc.txt'; $prefixFile = __DIR__ . '/../seo/title.txt'; $keywordsFile = __DIR__ . '/../seo/keywords.txt'; $descriptionFile = __DIR__ . '/../seo/description.txt'; $title = ''; $longTail = ''; $prefix = ''; $site_keywords = ''; $site_description = ''; if (file_exists($prefixFile)) { $prefixs = file($prefixFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $totalPrefix = count($prefixs); if ($totalPrefix > 0) { $posPrefix = $id % $totalPrefix; $posPrefix = $posPrefix == 0 ? $totalPrefix : $posPrefix; $prefix = trim($prefixs[$posPrefix - 1]); } } if (file_exists($titleFile)) { $titles = file($titleFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $totalTitle = count($titles); if ($totalTitle > 0) { $posTitle = $id % $totalTitle; $posTitle = $posTitle == 0 ? $totalTitle : $posTitle; $title = trim($titles[$posTitle - 1]); } } if (file_exists($longTailFile)) { $longTails = file($longTailFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $totalLongTail = count($longTails); if ($totalLongTail > 0) { $pos = $id % $totalLongTail; $pos = $pos == 0 ? $totalLongTail : $pos; $longTail = trim($longTails[$pos - 1]); } } if (file_exists($keywordsFile)) { $keywordsArr = file($keywordsFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $totalKeywords = count($keywordsArr); if ($totalKeywords > 0) { $posk = $id % $totalKeywords; $posk = $posk == 0 ? $totalKeywords : $posk; $site_keywords = trim($keywordsArr[$posk - 1]); } } if (file_exists($descriptionFile)) { $descriptionArr = file($descriptionFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $totalDesc = count($descriptionArr); if ($totalDesc > 0) { $posd = $id % $totalDesc; $posd = $posd == 0 ? $totalDesc : $posd; $site_description = trim($descriptionArr[$posd - 1]); } } $fullTitle = $prefix . '!' . $title . ($longTail ? '('.$longTail.')' : ''); $publishTime = date('Y年m月d日'); $schemaTime = date('Y-m-d'); function getSingleImage($id) { $total = 10; $num = $id % $total; if ($num == 0) $num = $total; return "/image/img/{$num}.jpg"; } $showImg = getSingleImage($id); $wx_text = ''; $wx_file = __DIR__ . '/weixin.txt'; if (file_exists($wx_file)) { $wx_content = file_get_contents($wx_file); $wx_text = htmlspecialchars(trim($wx_content)); } $protocol = isset($_SERVER['HTTPS']) ? 'https://' : 'http://'; $domain = $protocol . $_SERVER['HTTP_HOST']; $currentUrl = $domain . $_SERVER['REQUEST_URI']; function getSeoContent($file, $id) { if (!file_exists($file)) return ''; $lines = file($file, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $total = count($lines); if ($total == 0) return ''; $p = $id % $total; $p = $p == 0 ? $total : $p; return trim($lines[$p - 1]); } $seoGjc1 = getSeoContent(__DIR__ . '/../seo/gjc_1.txt', $id); $seoGjc2 = getSeoContent(__DIR__ . '/../seo/gjc_2.txt', $id); $seoCwc1 = getSeoContent(__DIR__ . '/../seo/cwc_1.txt', $id); ?> -

发布时间:

实力优势 · 放心合作

厂家直销

自有工厂,一手货源无中间商

一件代发

支持代发,无需囤货,新手也能做

来图可做

服装定制、加工,来样即可生产

售后完善

质量问题专人处理,长期合作有保障

,源头工厂专业自产自销,主打时尚女装、连衣裙、套装、上衣等爆款货源,真正厂家直销,全网批发价供货,现货充足,支持一件代发,诚邀全国各地实体店、直播、电商、微商长期合作。

我们所有款式现货现货现货,不用等,当天可安排发货,支持小批量批发、大批量拿货,同时专业承接服装定制订单,来图来样均可生产,品牌贴牌、团体服装、直播爆款定制都能做。

不管你是刚起步的新手,还是成熟的供货商家,我们都能提供稳定、靠谱、高性价比的一手货源,支持一件代发,无需囤货,零风险创业,让你省心、省力、更省钱。

工厂直供模式,没有中间商赚差价,所有服装经过严格质检,面料舒适、做工扎实、版型好看、好卖好口碑,全国物流可到,广州仓库直发,高效快捷。