2 Star 1 Fork 2

徐子玉 / 品贷网

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
store.php 21.88 KB
一键复制 编辑 原始数据 按行查看 历史
徐子玉 提交于 2017-07-05 11:21 . + pdw
<?php
include_once 'config.php';
include_once 'user_head.php';
include_once 'ad_head.php';
include_once 'search_head.php';
include_once 'user_right.php';
include_once 'sidebar.php';
include_once 'foot.php';
header("Content-Type: text/html; charset=UTF-8");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
error_reporting(E_ERROR | E_WARNING | E_PARSE);
//
//$id = isset($_GET["id"]) ? $_GET["id"] : "0";
//$typeId = isset($_GET["typeId"]) ? $_GET["typeId"] : "0";
//$subTypeId = isset($_GET["subTypeId"]) ? $_GET["subTypeId"] : "0";
//
//$pageIndex = isset($_GET["pageIndex"]) ? $_GET["pageIndex"] : "1";
//$pageSize = isset($_GET["pageSize"]) ? $_GET["pageSize"] : "12";
//
//$client = new SoapClient($GLOBAL_REMOTE_API);
//
//$products = array("factoryId" => $id, "userProxyId" => $user_id, "typeId" => $typeId, "subTypeId" => $subTypeId, "pageIndex" => $pageIndex, "pageSize" => $pageSize);
//$products_result = $client -> PD_getProductByFid($products);
//
//if (!is_soap_fault($products_result)) {
// $types = array("factoryId" => $id);
// $getProduct_result = $client -> PD_getProductTypeByfid($types);
//
// //根据厂商id获取厂商产品类型
// $getProductResult = $getProduct_result -> PD_getProductTypeByfidResult;
// $getProductResultArray = json_decode($getProductResult, TRUE);
//
// //开始解析
// //产品类型
// $Product_totalCount = $getProductResultArray[0]['totalCount'];
// $Product_success = $getProductResultArray[0]['success'];
// $Product_data = $getProductResultArray[0]['data'];
// if ($Product_totalCount > 0 && $Product_success == true) {
// //产品类型
// $Producthtml = '';
// foreach ($Product_data as $key => $d) {
// $store_typeId = $Product_data[$key]['typeId'];
// $store_typeName = $Product_data[$key]['typeName'];
// $store_subType = $Product_data[$key]['subType'];
// foreach ($store_subType as $k => $pd) {
// $goods_subTypeId = $store_subType[$k]['SubTypeId'];
// $goods_subTypeName = $store_subType[$k]['SubTypeName'];
// if ($subTypeId == $goods_subTypeId) {
// $lihtmlArr[] = '<li class="cur"><a href="store.php?id=' . $id . '&typeId=' . $store_typeId . '&subTypeId=' . $goods_subTypeId . '#here">' . $goods_subTypeName . '</a></li>';
// } else {
// $lihtmlArr[] = '<li><a href="store.php?id=' . $id . '&typeId=' . $store_typeId . '&subTypeId=' . $goods_subTypeId . '#here">' . $goods_subTypeName . '</a></li>';
// }
// }
// $lihtml = implode('', $lihtmlArr);
// if ($typeId == $store_typeId) {
// $ulhtmlArr[] = '<li><a href="javascript:;" class="active">' . $store_typeName . '</a><ul class="sub-menu" style="display: block;">' . $lihtml . '</ul></li>';
// } else {
// $ulhtmlArr[] = '<li><a href="javascript:;">' . $store_typeName . '</a><ul class="sub-menu" style="display: none;">' . $lihtml . '</ul></li>';
// }
// $lihtml = "";
// $lihtmlArr = "";
// }
// $Producthtml = implode('', $ulhtmlArr);
// }
//
// //获取产品列表
// $ProductsResult = $products_result -> PD_getProductByFidResult;
// $result = strtr($ProductsResult, "\t", ' ');
// $ProductsResultArray = json_decode($result, TRUE);
//
// //开始解析
// //获取产品列表
// $Products_totalCount = $ProductsResultArray[0]['totalCount'];
// $Products_success = $ProductsResultArray[0]['success'];
// $Products_data = $ProductsResultArray[0]['data'];
// //获取产品列表
// $Productshtml = '';
//
// //产品分页 缪杰 2015-9-10 增加
// $pageHtml = '';
// if ($Products_totalCount > 0 && $Products_success == true) {
// //分页开始
// $pageCount = 0;//总页数
// if($Products_totalCount % $pageSize == 0){
// $pageCount = intval($Products_totalCount / $pageSize);
// }
// else{
// $pageCount = intval($Products_totalCount / $pageSize) + 1;
// }
// //首页
// $pageArr[] = '<div class="paginationCell pagination_sy"><a href="store.php?id='. $id .'&pageIndex=1&typeId='.$typeId.'&subTypeId='.$subTypeId.'">首页</a></div>';
// $previousPage = $pageIndex; //上一页
// if($previousPage > 1){
// --$previousPage;
// }
// else{
// $previousPage = 1;
// }
// $pageArr[] = '<div class="paginationCell pagination_up"><a href="store.php?id='. $id .'&pageIndex='.$previousPage.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">上一页</a></div>';
// //生成页码
// if($pageCount < 11){ //页数小于11 全部显示
// for($i = 1;$i < $pageCount + 1;$i++){
// if($i == $pageIndex){
// $pageArr[] = '<div class="paginationCell pagination_num active"><a href="store.php?id='. $id .'&pageIndex='.$i.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$i.'</a></div>';
// }
// else{
// $pageArr[] = '<div class="paginationCell pagination_num"><a href="store.php?id='. $id .'&pageIndex='.$i.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$i.'</a></div>';
// }
// }
// }
// else{
// if($pageIndex < 9){
// for($j = 1;$j < 9;$j++){
// if($j == $pageIndex){
// $pageArr[] = '<div class="paginationCell pagination_num active"><a href="store.php?id='. $id .'&pageIndex='.$j.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$j.'</a></div>';
// }
// else{
// $pageArr[] = '<div class="paginationCell pagination_num"><a href="store.php?id='. $id .'&pageIndex='.$j.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$j.'</a></div>';
// }
// }
// $pageArr[] = '<div class="paginationCell pagination_num"><a href="store.php?id='. $id .'&pageIndex=10&typeId='.$typeId.'&subTypeId='.$subTypeId.'">...</a></div>';
// $pageArr[] = '<div class="paginationCell pagination_num"><a href="store.php?id='. $id .'&pageIndex='.$pageCount.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$pageCount.'</a></div>';
// }
// else if(($pageIndex > 5) && ($pageCount - $pageIndex) >5){
// $pageArr[] = '<div class="paginationCell pagination_sy"><a href="store.php?id='. $id .'&pageIndex=1&typeId='.$typeId.'&subTypeId='.$subTypeId.'">1</a></div>';
// $pageArr[] = '<div class="paginationCell pagination_num"><a href="store.php?id='. $id .'&pageIndex='.($pageIndex-3).'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">...</a></div>';
// for($k = $pageIndex - 2;$k < $pageIndex;$k++){
// $pageArr[] = '<div class="paginationCell pagination_sy"><a href="store.php?id='. $id .'&pageIndex='.$k.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$k.'</a></div>';
// }
// $pageArr[] = '<div class="paginationCell pagination_sy active"><a href="store.php?id='. $id .'&pageIndex='.$pageIndex.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$pageIndex.'</a></div>';
// for($p = $pageIndex + 1;$p < $pageIndex + 3;$p++){
// $pageArr[] = '<div class="paginationCell pagination_sy"><a href="store.php?id='. $id .'&pageIndex='.$p.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$p.'</a></div>';
// }
// $pageArr[] = '<div class="paginationCell pagination_num"><a href="store.php?id='. $id .'&pageIndex='.($pageIndex+3).'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">...</a></div>';
// $pageArr[] = '<div class="paginationCell pagination_num"><a href="store.php?id='. $id .'&pageIndex='.$pageCount.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$pageCount.'</a></div>';
// }
// else if(($pageCount - $pageIndex) <6){
// $pageArr[] = '<div class="paginationCell pagination_sy"><a href="store.php?id='. $id .'&pageIndex=1&typeId='.$typeId.'&subTypeId='.$subTypeId.'">1</a></div>';
// $pageArr[] = '<div class="paginationCell pagination_num"><a href="store.php?id='. $id .'&pageIndex='.($pageIndex-3).'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">...</a></div>';
// for($q = $pageCount - 5;$q < $pageCount + 1;$q++){
// if($q == $pageIndex){
// $pageArr[] = '<div class="paginationCell pagination_sy active"><a href="store.php?id='. $id .'&pageIndex='.$q.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$q.'</a></div>';
// }
// else{
// $pageArr[] = '<div class="paginationCell pagination_sy"><a href="store.php?id='. $id .'&pageIndex='.$q.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">'.$q.'</a></div>';
// }
// }
// }
// }
//
// $nextPage = $pageIndex; //下一页
// if($nextPage < $pageCount){
// ++$nextPage;
// }
// else{
// $nextPage = $pageCount;
// }
// $pageArr[] = '<div class="paginationCell pagination_down"><a href="store.php?id='. $id .'&pageIndex='.$nextPage.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">下一页</a></div>';
// //尾页
// $pageArr[] = '<div class="paginationCell pagination_wy"><a href="store.php?id='. $id .'&pageIndex='.$pageCount.'&typeId='.$typeId.'&subTypeId='.$subTypeId.'">尾页</a></div>';
// $pageHtml = implode('', $pageArr);
//
// $filename = "store_goods.html";
// $file = @fopen($filename, "r");
// if ($file) {
// $contents = @fread($file, filesize($filename));
// $goods_color = '';
// foreach ($Products_data as $key => $p) {
// $productId = $Products_data[$key]['productId'];
// $productName = $Products_data[$key]['productName'];
// $color = $Products_data[$key]['color'];
// $goods_color = $color;
// if ($goods_color == "") {
// $goods_color = "";
// } else {
// $goods_color = "(" . $color . ")";
// }
// $picUrl = $Products_data[$key]['picUrl'];
// if ($picUrl == "")
// $picUrl = "images/pro_defaultimg.png";
//
// $goods_typeName = $Products_data[$key]['Type'];
// $goods_subTypeName = $Products_data[$key]['subType'];
// $goods_typeId = $Products_data[$key]['TypeId'];
// $goods_subTypeId = $Products_data[$key]['subTypeId'];
//
// $goods_spec1 = '';
// $goods_spec1_original_price = '';
// $goods_spec1_prices = '';
// $goods_spec1_discount = '';
// $goods_spec1_pkgunit = '';
// if ($Products_data[$key]['productStandard'] != "") {
// foreach ($Products_data[$key]['productStandard'] as $k => $pt) {
// $Standard = $Products_data[$key]['productStandard'][$k]['Standard'];
// $originalPrice = $Products_data[$key]['productStandard'][$k]['originalPrice'];
// $Price = $Products_data[$key]['productStandard'][$k]['price'];
// $pkgUnit = $Products_data[$key]['productStandard'][$k]['Unit'];
// $discount = $Products_data[$key]['productStandard'][$k]['discount'];
// $discount = ($discount == 10.0) ? '注册会员享受优惠' : $discount . ' 折';
// if ($goods_spec1 == '')
// $goods_spec1 = $Standard;
// if ($goods_spec1_original_price == '')
// $goods_spec1_original_price = $originalPrice;
// if ($goods_spec1_prices == '')
// $goods_spec1_prices = $Price;
// if ($goods_spec1_discount == '')
// $goods_spec1_discount = $discount;
// if ($goods_spec1_pkgunit == '')
// $goods_spec1_pkgunit = $pkgUnit;
//
// $goods_spec_htmlArr[] = '<a href="javascript:;" price="' . $Price . '" originalPrice="' . $originalPrice . '" pkgUnit="' . $pkgUnit . '">' . $Standard . '</a>';
// $pkgUnitArr[] = $pkgUnit;
// }
// $out = array();
// foreach ($pkgUnitArr as $key => $value) {
// if (!in_array($value, $out)) {
// $goods_spec_pkgunit_htmlArr[] = '<a href="javascript:;">' . $value . '</a>';
// $out[$key] = $value;
// }
// }
// $goods_spec_html = implode('', $goods_spec_htmlArr);
// $goods_spec_htmlArr = '';
// $goods_spec_pkgunit_html = implode('', $goods_spec_pkgunit_htmlArr);
// $goods_spec_pkgunit_htmlArr = '';
// $pkgUnitArr = '';
// } else {
// $goods_spec_html = '';
// $goods_spec_pkgunit_html = '';
// }
//
// $goods_html = str_replace("{\$goods_factory_id}", $id, $contents);
// $goods_html = str_replace("{\$goods_id}", $productId, $goods_html);
// $goods_html = str_replace("{\$goods_photo_url}", $picUrl, $goods_html);
// $goods_html = str_replace("{\$goods_theme}", $productName, $goods_html);
// $goods_html = str_replace("{\$goods_color}", $goods_color, $goods_html);
// $goods_html = str_replace("{\$goods_sub_type}", $goods_subTypeName, $goods_html);
// $goods_html = str_replace("{\$goods_spec1}", $goods_spec1, $goods_html);
// $goods_html = str_replace("{\$goods_spec1_original_price}", $goods_spec1_original_price, $goods_html);
// $goods_html = str_replace("{\$goods_spec1_prices}", $goods_spec1_prices, $goods_html);
// $goods_html = str_replace("{\$goods_spec1_discount}", $goods_spec1_discount, $goods_html);
// $goods_html = str_replace("{\$goods_spec1_pkgunit}", $goods_spec1_pkgunit, $goods_html);
// $goods_html = str_replace("{\$goods_spec_html}", $goods_spec_html, $goods_html);
// $goods_html = str_replace("{\$goods_spec_pkgunit_html}", $goods_spec_pkgunit_html, $goods_html);
//
// $goods_htmlArr[] = $goods_html;
// }
// fclose($file);
// }
//
// $Productshtml = implode('', $goods_htmlArr);
//
// }
//
// $factoryInfo = array("factoryId" => $id);
// $factoryInfo_result = $client -> PD_getFactoryInfoById($factoryInfo);
// //根据厂商id获取厂商产品类型
// $factoryInfoResult = $factoryInfo_result -> PD_getFactoryInfoByIdResult;
// $factoryInfoResultArray = json_decode($factoryInfoResult, TRUE);
//
// //开始解析
// //产品类型
// $factoryInfo_totalCount = $factoryInfoResultArray[0]['totalCount'];
// $factoryInfo_success = $factoryInfoResultArray[0]['success'];
// $factoryInfo_data = $factoryInfoResultArray[0]['data'];
// foreach ($factoryInfo_data as $i => $fi) {
// $Abbreviation = $factoryInfo_data[$i]['Abbreviation'];
// $Slogan = $factoryInfo_data[$i]['Slogan'];
// $Address = $factoryInfo_data[$i]['Address'];
// $Telphone = $factoryInfo_data[$i]['Telphone'];
// $Logo = $factoryInfo_data[$i]['Logo'];
// $Banner = $factoryInfo_data[$i]['Banner'];
// $Email = $factoryInfo_data[$i]['Email'];
// $Website = $factoryInfo_data[$i]['Website'];
// $Memo = $factoryInfo_data[$i]['Memo'];
// $HomeAD = $factoryInfo_data[$i]['HomeAD'];
// if($HomeAD != ""){
// $factoryInfohtml = '<a class="dp-logo" fname=' . $Abbreviation . ' href="store.php?id=' . $id . '"><img width="200" height="80" src="' . $Logo . '"></a><div class="dp-img"><img src="' . $HomeAD . '"></div>';
// }
// else{
// $factoryInfohtml = '<a class="dp-logo" fname=' . $Abbreviation . ' href="store.php?id=' . $id . '"><img width="200" height="80" src="' . $Logo . '"></a><div class="dp-img"><img src="images/storedd.png"></div>';
// }
// }
$id = isset($_GET["id"]) ? $_GET["id"] : "0";
$factoryInfo = array("factoryId"=>$id);
$factoryInfo_result = $client->PD_getFactoryInfoById($factoryInfo);
if(!is_soap_fault($factoryInfo_result))
{
//根据厂商id获取厂商产品类型
$factoryInfoResult = $factoryInfo_result->PD_getFactoryInfoByIdResult;
$factoryInfoResultArray = json_decode($factoryInfoResult, TRUE);
//开始解析
//产品类型
$factoryInfo_totalCount = $factoryInfoResultArray[0]['totalCount'];
$factoryInfo_success = $factoryInfoResultArray[0]['success'];
$factoryInfo_data = $factoryInfoResultArray[0]['data'];
foreach($factoryInfo_data as $i=>$fi){
$Abbreviation = $factoryInfo_data[$i]['Abbreviation'];
$Slogan = $factoryInfo_data[$i]['Slogan'];
$Address = $factoryInfo_data[$i]['Address'];
$Telphone = $factoryInfo_data[$i]['Telphone'];
$Logo = $factoryInfo_data[$i]['Logo'];
$Banner = $factoryInfo_data[$i]['Banner'];
$Email = $factoryInfo_data[$i]['Email'];
$Website = $factoryInfo_data[$i]['Website'];
$HomeAD = $factoryInfo_data[$i]['HomeAD'];
if($HomeAD != ""){
$factoryInfohtml = '<a class="dp-logo" href="store.php?id=' . $id . '"><img src="' . $Logo . '"></a><div class="dp-img"><img src="' . $HomeAD . '"></div>';
}
else{
$factoryInfohtml = '<a class="dp-logo" href="store.php?id=' . $id . '"><img src="' . $Logo . '"></a><div class="dp-img"><img src="images/storedd.png"></div>';
}
$factoryInfoBannerhtml = '<img width="1000" height="350" src="'.$Banner.'">';
$factoryInfoMemohtml = base64_decode($factoryInfo_data[$i]['Memo']);
$factoryAbbreviation = $Abbreviation;
}
$typeCert = 0;
$factoryCertificate = array("factoryId"=>$id, "type"=>$typeCert);
$factoryCertificate_result = $client->PD_getCertificateByFid($factoryCertificate);
$factoryCertificateResult = $factoryCertificate_result->PD_getCertificateByFidResult;
$factoryCertificateResultArray = json_decode($factoryCertificateResult, TRUE);
$factoryCertificate_totalCount = $factoryCertificateResultArray[0]['totalCount'];
$factoryCertificate_success = $factoryCertificateResultArray[0]['success'];
$factoryCertificate_data = $factoryCertificateResultArray[0]['data'];
if ($factoryCertificate_totalCount > 0 && $factoryCertificate_success == true)
{
if ($factoryCertificate_data)
{
foreach($factoryCertificate_data as $i=>$fi){
$picUrl = $factoryCertificate_data[$i]['picUrl'];
$description = $factoryCertificate_data[$i]['description'];
$factoryCartificatehtmlArr[] = '<li><a href="' . $picUrl . '" class="fancybox" rel="gallery" title="' . $description . '"><img src="' . $picUrl . '" /><p>' . $description . '</p></a></li>';
}
$factoryCartificatehtml = implode('', $factoryCartificatehtmlArr);
}
}
$typeShow = 1;
$factoryShow = array("factoryId"=>$id, "type"=>$typeShow);
$factoryShow_result = $client->PD_getCertificateByFid($factoryShow);
$factoryShowResult = $factoryShow_result->PD_getCertificateByFidResult;
$factoryShowResultArray = json_decode($factoryShowResult, TRUE);
$factoryShow_totalCount = $factoryShowResultArray[0]['totalCount'];
$factoryShow_success = $factoryShowResultArray[0]['success'];
$factoryShow_data = $factoryShowResultArray[0]['data'];
if ($factoryShow_totalCount > 0 && $factoryShow_success == true)
{
if ($factoryShow_data)
{
foreach($factoryShow_data as $i=>$fi){
$picUrl = $factoryShow_data[$i]['picUrl'];
$description = $factoryShow_data[$i]['description'];
$factoryShowhtmlArr[] = '<li><a href="' . $picUrl . '" class="fancybox" rel="gallery" title="' . $description . '"><img src="' . $picUrl . '" /><p>' . $description . '</p></a></li>';
}
$factoryShowhtml = implode('', $factoryShowhtmlArr);
}
}
//获取商品标题
$pageIndex=1;
$pageSize=20;
$getFactoryInfo=array("factoryId"=>$id,"pageIdex"=>$pageIndex,"pageSize"=>$pageSize);
$getFactoryInfo_result = $client->PD_getFactoryInfo($getFactoryInfo);
$getFactoryInfoResult = $getFactoryInfo_result->PD_getFactoryInfoResult;
$getFactoryInfoResultArray = json_decode($getFactoryInfoResult, TRUE);
$getFactoryInfo_totalCount = $getFactoryInfoResultArray[0]['totalCount'];
$getFactoryInfo_success = $getFactoryInfoResultArray[0]['success'];
$getFactoryInfo_data = $getFactoryInfoResultArray[0]['data'];
if ($getFactoryInfo_totalCount > 0 && $getFactoryInfo_success == true)
{
if ($getFactoryInfo_data)
{
$getFactoryInfohtmlArr[] = '<ul>';
foreach($getFactoryInfo_data as $item){
$recordCount = $item['recordCount'];
$InfoId = $item['InfoId'];
$InfoTitle = $item['InfoTitle'];
$AddDate = $item['AddDate'];
$getFactoryInfohtmlArr[]='<li><a href="store_newspage.php?factoryId=' . $id . '&id=' . $InfoId . '">' . $InfoTitle . '</a></li>';
}
$getFactoryInfohtmlArr[] = '</ul>';
$getFactoryInfohtml = implode('', $getFactoryInfohtmlArr);
}
}
else {
$getFactoryInfohtml = '<ul><li><a href="store_info.php?id=' . $id . '">没有更多内容.</a></li></ul>';
}
$seo_param = array("factoryId"=>$id);
$FactorySEO_result = $client->SEO_Factory($seo_param);
$FactorySEOResult = $FactorySEO_result->SEO_FactoryResult;
$FactorySEOResultArray = json_decode($FactorySEOResult,TRUE);
$SEO_FactoryName = "";
$SEO_Abbreviation = "";
$SEO_BusinessScope = "";
$SEO_Address = "";
$SEO_SeiresNames = "";
$FactorySEO_totalCount = $FactorySEOResultArray[0]['totalCount'];
$FactorySEO_success = $FactorySEOResultArray[0]['success'];
$FactorySEO_data = $FactorySEOResultArray[0]['data'];
if ($FactorySEO_success == true) {
foreach ($FactorySEO_data as $item) {
$SEO_FactoryName = $item["FactoryName"];
$SEO_Abbreviation = $item["Abbreviation"];
$SEO_BusinessScope = $item["BusinessScope"];
$SEO_Address = $item["Address"];
$SEO_SeiresNames = $item["SeiresNames"];
}
}
$SEO_Title = $SEO_Abbreviation . ',' . $SEO_FactoryName . ',品代网';
$SEO_Keywords = $SEO_Abbreviation . ',' . $SEO_FactoryName . ',' . $SEO_SeiresNames . ',' . $SEO_BusinessScope . ',代理,代理申请,品代网';
$SEO_Description = $SEO_Abbreviation . ',' . $SEO_FactoryName . ',' . $SEO_Address . ',申请' . $SEO_Abbreviation . '代理请上品代网';
//输出模板
$filename = "store.html";
$file = @fopen($filename, "r");
if ($file) {
$contents = @fread($file, filesize($filename));
$contents = str_replace("{\$factoryId}", $id, $contents);
$contents = str_replace("{\$userId}", $user_id, $contents);
$contents = str_replace("{\$factoryAbbreviation}", $factoryAbbreviation, $contents);
$contents = str_replace("{\$factoryInfohtml}", $factoryInfohtml, $contents);
$contents = str_replace("{\$factoryInfoBannerhtml}", $factoryInfoBannerhtml, $contents);
$contents = str_replace("{\$factoryInfoMemohtml}", $factoryInfoMemohtml, $contents);
$contents = str_replace("{\$factoryCartificatehtml}", $factoryCartificatehtml, $contents);
$contents = str_replace("{\$getFactoryInfohtml}", $getFactoryInfohtml, $contents);
$contents = str_replace("{\$user_head_html}", $user_head_html, $contents);
$contents = str_replace("{\$ad_head_html}", $ad_head_html, $contents);
$contents = str_replace("{\$search_head_html}", $search_head_html, $contents);
$contents = str_replace("{\$userright_html}", $userright_html, $contents);
$contents = str_replace("{\$foot_html}", $foot_html, $contents);
$contents = str_replace("{\$factoryShowhtml}", $factoryShowhtml, $contents);
$contents = str_replace("{\$sidebar_html}", $sidebar_html, $contents);
$contents = str_replace("{\$SEO_Title_html}", $SEO_Title, $contents);
$contents = str_replace("{\$SEO_Keywords_html}", $SEO_Keywords, $contents);
$contents = str_replace("{\$SEO_Description_html}", $SEO_Description, $contents);
echo $contents;
fclose($file);
}
}
?>
1
https://gitee.com/xuqipeter/pdw.git
git@gitee.com:xuqipeter/pdw.git
xuqipeter
pdw
品贷网
master

搜索帮助