<?php
//首页社交链接 {ls_weibo}：546 $facebook_twitter 详细页社交分享 {ls_weiboshare}：556 $facebook_twitter_share $promlv
	include_once('picvideo.php');

	//首选项
	$lang = "en"; //语言变量 (默认en) en | cn  两种语言
	$lang2 = ""; // 一般为空 ru, beidou ru
	
	$SmallPicW=420;
	//缩略图宽
	$SmallPicH=420;
	//缩略图高
	$BigPicW=600;
	//大图宽
	$BigPicH=600;
	//大图高
	$PageNum=9;														
	//每页产品数量
	$NewPageNum = 12;											
	//每页新闻数量
	$ifmenupro=false;	//主菜单列产品（侧边栏菜单）	
	//主菜单列出文章标题，后台文章分类 列出（ hotLines ）=1
	
	$relacatenum=3;
	//上级前后类相关产品数
	
	$wechat11show="微信"; //ls_config显示 微信 传真
	$other11show="其他"; //ls_config显示
	$tel12show="电话2";
	$email12show="邮箱2";
	
	$SearchProSize=12;  //搜索产品分页数量
	$SearchArSize=16; //搜索文章分页数量	

	$pronameno=1; //产品页面中默认产品名字，2货号 3货号+名字 
	$showprochara="产品规范";//
	$showproadvan=""; //产品特征
	$showpropara=""; //产品应用
	//首选项end

	error_reporting(E_ALL ^ E_NOTICE ^E_WARNING);
	ini_set('date.timezone','Asia/Shanghai'); //设置上海时间

	$ifflm=(strpos($_SERVER['PHP_SELF'],"flm")==1);
	$ifshowbannername=false; //生成时显示文章类banner名字
	$promlv=2;
	//1 2 3	, 2: 视频，图片水印，营销模块，导航文章，网站地图，tips提示，内部链接
	
	//新变量池：
	//产品显示
/*	$chara_title=""; 
	$advan_title="";
	$para_title="";
	//后台 产品规范 chara，特征 advant，应用 para
*/	
	$showprobasicInfo=""; //为空后台不显示，基本信息 
	$showproaddinfo=""; //附加信息
	
	
	//类显示
	$showcatecanshu="核心摘要";
	$showcatebasicInfo="基本信息";
	$showcateaddinfo="附加信息";
	
	$showcatechara="产品规范";
	$showcateadvan="产品特征";
	$showcatepara="产品应用";
	
	//后台文本内容宏提换 ls_tinyfunc replmactext
	$lsm_web=""; //网站网址 
	$lsm_name=""; //网站名字
	$lsm_email="";
	
	//显示名称定义 ls_products_canshu.php，ls_products_addandmodi_moreinfo.php
	$ifsubcate=true; //允许添加三级类false
	$selecton=true; //允许选择页面内容
	$homesuffStr=false; // false 只输出cateName=news类；true首页新闻按类别的num输出； 
	$samecaterelapro=1; // 同类产品个数< $samecaterelapro 找兄弟类的产品做相关产品
	$oldcatepath=true;
	$menucatename=""; //菜单类名，比较老的右 index.html，现在为空。更老的是 类名.html，与$oldcatepath配合用
	$oldpropath=false; // 兼容旧的产品页文件名 /pages/nnnnnn.html
	$defaultvideo="video,live,broadcast,vr"; //默认媒体种类
	$videorepl='controls="controls" loop="loop"'; //syscode 视频控制 autoplay="autoplay"
	$func301readonly="readonly"; //func301readonly 高级设置中 重定向301 "readonly" "" 错误会导致 服务器错误！
	$ifnoschema=true; //true 不使用schema设置
	$tplarcate=true;  //中类模板，否则用大类模板。false用article.html及~show.html模板有错误
	$uniproname=false;  //使用products表中 filename 保存的文件名

	$editorfile="ls_admin\kindeditor-4.1.10\attached"; //多语图片，文件路径替换
	$picsas="1200,700,260"; //处理banner等的分辨率种类 tiny_editorpic()
	$picnas="_s1.,_s7.,_s.";	//上述辨率对应的文件名后缀
	$picsamax=" 1200w, "; //最大视口下限 1200px
	$picsasize=' sizes="(max-width: 261px) 260px, (max-width: 701px) 700px, 1200px"';
	$imagetypess=str_replace("image/"," ",$imagetypes);
	

	$videotypess=str_replace("video/"," ",$videotypes);
	$webstartdate="2022-02-25";
	if( $webstartdate==""||diffdate($webstartdate,date('Y-m-d'))<31 )$ls_debug= true; else $ls_debug=false  ;	// 上线 >30天 
	$ifup60= $webstartdate!=""&& diffdate($webstartdate,date('Y-m-d'))>60;	
	//$ls_debug=true;  // 调试模式，输出 调试文件名，行号，变量名
	//$ls_debug=false;  // 调试模式，输出 调试文件名，行号，变量名
	$transFlags="es";	//翻译设置语言，而且 $googleTrans=true;   fr,de
	//$http="https://"; //协议
	$http=strpos($_SERVER['HTTP_HOST'],".20")===false? "https://".$_SERVER['HTTP_HOST']:"https://www.lanscend.com"; //协议
	$tipsWr=false;
	$ifgetweb=false;
	$ifmutipic=false; 
	//$ifmutipic=true; 
	//初始上线时间， Checklogin.php 设置

	//----版本号参数
	$lsVer=3.2;
	$date="2020-01-01   19:02:01";
	
	//翻译
	//$googleTrans=false;
	$googleTrans=true;
	$manualTrans=true; //谷歌在线手工翻译	
	$langmenu=array( //菜单项语言，getlangmemu()
		 'cn' => array(
            'home'=>'首页',
            'blog'=>'博客',
            'faq'=>'常见问题',
            'news'=>'新闻',
        ),
        'en' => array(
            'home'=>'Home',
            'blog'=>'Blog',
            'faq'=>'Faq',
            'news'=>'News',
        ),
        'ar' => array(
            'home'=>'الصفحة الرئيسية',
            'blog'=>'مدونة',
            'faq'=>'التعليمات',
            'news'=>'أخبار',
        ),
        'es' => array(
            'home'=>'Casa',
            'blog'=>'Blog',
            'faq'=>'Preguntas más frecuentes',
            'news'=>'Noticias',
        ),
        'fr' => array(
            'home'=>'Accueil',
            'blog'=>'Blog',
            'faq'=>'FAQ',
            'news'=>'Nouvelles',
        ),
    );
	
	$funcreadonly= "博客分类,新闻分类,常见问题";
	$catereadonly= $defaultmenu;
	$subDomianLang=true;
	//显示菜单
	$translate_key = 'AIzaSyDNsD5IJS0HyQv7ZktXimXl-w1rRP_q8oY';   
 
 	$simuTransCons=1; //模拟翻译
	$_SESSION['transAll']=1;  //全部覆盖 含模拟翻译
	$simuTransLow=true; //低级模拟翻译 ~fr~ 分割，ls_syscode, function translat

	$flagFastSlow=16; //小于这个字符数，加入快，ls_syscode, function translat

	$sleepSecond=8; //延迟时间 
	$delayTrigSecond=90; //延迟触发累计秒数 
	$delayTrigByte=32000; //延迟触发累计字节数 
	$delayTrigTimes=100; //延迟触发累计次数 
	$transSplitLen=1000; //翻译分段长度
	
	//----SEO参数

	$titleLen=55;
	$descriptionLen=155;

	$seoFrefix1=" China ";
	$seoFrefix2="";
	$seoSufix2=" suppliers ";
	$seoSufix1=" manufacture ";
	$awstatsUrl="";
	//KWDS1 BDNM CERT QLYT 将被替换 , y也可以手工替换
	$KWDS=gettitlekeyword();

	$CERT=$qualcert[0]==""?"Certificates":$qualcert[0];
	$QLYT=$qualcert[1]==""?"Quality":$qualcert[1];
	$aboutusTitle=$KWDS[0]." manufacturer & supplier - ".$KWDS[2];
	$contactusTitle=$KWDS[0].", ".$KWDS[1]." China OEM ODM - ".$KWDS[2];
	$workshopTitle=$KWDS[0].",  ".$KWDS[1]." manufacture - ".$KWDS[2];
	$blogTitle=$KWDS[0].", ".$KWDS[1]." exporter, saler -  ".$KWDS[2] ;
	$newsseoTitle=$KWDS[0].", ".$KWDS[1]." wholesale news - ".$KWDS[2];
	$certificateTitle=$KWDS[0]." ".$CERT." - ".$KWDS[2];
	$qualityTitle=$KWDS[0]." ".$QLYT." - ".$KWDS[2];
	
	//----SEO参数end	


	//----多语种参数
	$current_url = $_SERVER['HTTP_HOST'];
	$language_array = array();
	
	$lang_en = array(
		'seoFrefix1'=>" <translate>China</translate>",  //长尾前缀
		'seoFrefix2'=>" <translate>Chinese</translate> ", //长尾前缀
		'seoSufix1'=>' <translate>Suppliers</translate>', //长尾后缀
		'seoSufix2'=>' <translate>Manufacture</translate>', //长尾后缀
		'awstatsUrl'=>"",
		'more'=>"<translate>more</translate>",		
		'previous'=>"<translate>Previous</translate>",
		'next'=>"<translate>Next</translate>",
		'page'=>"<translate>Page</translate>",
		'pages'=>"<translate>Pages</translate>",
		'end'=>"<translate>End</translate>",
		'first'=>"<translate>First</translate>",
		'previouspage'=>"<translate>Previous</translate>",
		'nextpage'=>"<translate>Next</translate>",
		'total'=>"<translate>Total</translate>",

		'home'=>"<translate>Home</translate>",
		'about'=>"<translate>About Us</translate>",
		'products'=>"<translate>Products</translate>",
		'workshop'=>"<translate>Workshop</translate>",
		'certificate'=>"<translate>Certificate</translate>",
		'quality'=>"<translate>Quality</translate>",
		'packing'=>"<translate>Packing</translate>",
		'rd'=>"<translate>R&amp;D</translate>",
		'brand'=>"<translate>Brand</translate>",
		'history'=>"<translate>history</translate>",
		'management'=>"<translate>Management</translate>",
		'news'=>"<translate>News</translate>",
		'faq'=>"<translate>FAQs</translate>",
		'blog'=>"<translate>Blog</translate>",
		'download'=>"<translate>Download</translate>",
		'video'=>"<translate>Video</translate>",
		'feedback'=>"<translate>Feedback</translate>",
		'contact'=>"<translate>Contact Us</translate>",
		'hotpro'=>"<translate>Hot Products</translate>",
		'newpro'=>"<translate>New Products</translate>",
		'links'=>"<translate>Links</translate>",
		'sendmailFailMsg'=>"<translate>THANK YOU, OUR CUSTOMER SERVICE REPRESENTATIVE WILL CONTACT YOU.</translate>",
		'sendmailOKMsg'=>"<translate>THANK YOU FOR CONTACTING US, OUR CUSTOMER SERVICE REPRESENTATIVE WILL CONTACT YOU WITHIN 24 HOURS. THANK YOU AGAIN!</translate>",
		'detail'=>"<translate>Detail</translate>",
		'quick quote'=>"<translate>Quick Quote</translate>"

	);
	
	$lang_cn = array(
		'seoFrefix1'=>"河北",  //长尾前缀
		'seoFrefix2'=>"石家庄", //长尾前缀
		'seoSufix1'=>'供应',  //长尾后缀
		'seoSufix2'=>'生产厂',  //长尾后缀
		'awstatsUrl'=>"",
		'previous'=>"上一条",
		'next'=>"下一条",
		'page'=>"页",
		'pages'=>"页",
		'end'=>"尾页",
		'first'=>"首页",
		'previouspage'=>"上一页",
		'nextpage'=>"下一页",
		'total'=>"共",
		
		'home'=>"首页",
		'about'=>"关于我们",
		'products'=>"产品中心",
		'workshop'=>"工厂展示",
		'certificate'=>"资质荣誉",
		'quality'=>"质量控制",
		'packing'=>"产品包装",
		'rd'=>"研发中心",
		'brand'=>"品牌中心",
		'history'=>"公司历史",
		'management'=>"管理团队",
		'news'=>"新闻资讯",
		'News'=>"新闻资讯",
		'faq'=>"常见问题",
		'blog'=>"博客",
		'download'=>"下载中心",
		'video'=>"视频",
		'feedback'=>"反馈信息",
		'contact'=>"联系我们",
		'hotpro'=>"热销产品",
		'newpro'=>"新款产品",
		'links'=>"友情链接",
		
		'comments'=>"信息", //反馈翻译
		'message'=>"信息",
		'name'=>"姓名",
		'company'=>"公司",
		'companyname'=>"公司",
		'tel'=>"电话",
		'tel'=>"电话",
		'email'=>"邮箱",
		'proname'=>"产品",
		'date'=>"日期",
		'ip'=>"IP",
		'explorer'=>"浏览器",
		'home'=>"首页",
		'productname'=>"产品",
		'quantity'=>"数量",
		'address'=>"地址",
		'zip'=>"邮编",
		'proid'=>"编号",
		'more'=>"更多",
		'sendmailFailMsg'=>"您给我们的反馈信息已经收到，我们尽快和您取得联系。",
		'sendmailOKMsg'=>"谢谢，您给我们的反馈信息已经发送，我们尽快和您取得联系。",
		'detail'=>"<translate>详细</translate>",
		'quick quote'=>"<translate>报价</translate>"
	);
	$lan= ($lang == "cn"?$lang_cn:$lang_en);
	// if($lang != "cn"&&$lang != "en") { $thislang="lang_".$lang;  require( "_".$thislang.".php");  $lan= $$thislang ; } //除了 en cn 


	//----一般参数
	$productindicator="";
	//product面包屑导航 <li><a href=\"../prolist.html\">".$lan['products']."</a></li>
	$ars_show="a";

	$filterWords=array("message");  //逗号分隔词组，如果反馈内容等于这些词组，不发送
	//反馈表过滤词组
	$prolistbrieflen=120;
	
	$mainMenuStyle="Vertical";
	//主菜单风格可取值为：Vertical，Horizontal
	$ProMenuStyle="Vertical";
	//产品菜单大类正常展开和横向：Vertical，Horizontal
	$proCateStytle="Full Expanded Vertical";	
	//产品菜单风格可取值为：Full Expanded Vertical, Popup Expanded Vertical, Hover Expended Vertical, Hover Drawer Horizontal, Icon List
	
	$catedetailStytle="allCateProducts";
	// 类页 catedetial.html,selectProducts 列出类别选定产品图  allCateProducts 列出类别所有小类产品，catePic 类别代表图，  链接到本类产品

	$prolistStytle="selectProducts";	//product 菜单项链接文件 prolist.html， allCateProducts 列出所有产品？ {$ls_classpro},selectProducts 列出类别选定产品图 ，catePic 类别代表图，  cateIconPic 使用 cateIconPic 图片，链接到本类产品

	$ls_classproType="selectPic";
	//catedetail 类页面{ls_classpro} 标签控制参数：pic 全部产品图片列表，picIntro: 本类全部图片加说明， cateList：产品分类展开列表，  selectPic 或者默认 后台类产品 文字 排序
	
	//$catedetailStytle="selectProducts";	//product 菜单项链接文件 prolist.html {$ls_classpro},selectProducts 列出类别代表图  //allCateProducts 列出类别所有小类产品，  cateIconPic 使用 cateIconPic 图片，链接到本类产品
	
	
	$ls_classproPicW=370;
	//$ls_class缩略图宽
	$ls_classproPicH=370;
	//$ls_class缩略图高
	
	$ls_catepicsPicW=370;
	//首页多类产品滚动图片宽 function get_product_cate_pics in temp_index.php
	$ls_catepicsPicH=370;
	//首页多类产品滚动图片高
	
	$homehrefStytle="prohref";	//classhref 产品所在类的列表页    prohref 产品详页
	$titlePicW=1200;
	//主题图宽
	$titlePicH=200;
	//主题图高

	$titlemobPicW=1080;
	//手机主题图宽
	$titlemobPicH=0;
	//手机主题图高 391

	$ifcatepic=true;
	//产品类别图
	$ifcatelink=true;

	
	$codeRetryTimes=2;
	//验证码出现前允许重试次数

	$cateDetailPageCreate=true;
	//类别介绍详细页面生成控制参数，是否生成还取决于是否有类别详细模版：true，false
	
	//定义新闻内容关联产品是否开启
	define("NEWS_CONNECTION",true);
	
	// 网站类型： 1、宣传型; 2、优化型; 3、营销型
	$vertype = 2;
	
	$folderchange=0;
	$cateHome=4;
	$cateProHome=4;
	
	$productSort="Num";    //产品排序
	$newsSort="Num";      //新闻的排序方式 按ID和Num
	
	//---- 产品参数
	
	$productshowstyle="list";
	//产品列表形式： gallary 相册方式(默认) 9 ，list 图片、产品和简要说明列表 6， name 只列产品名字 12， style4,style5
	$artcatePageNum=12;														
	//每页产品数量
	$PageNum_pro_m =12;
	//手机产品每页数量
	$productBrowerNoOffset=3;							
	// 产品页数字导航偏移量
	$aboutLength = 650;  									
	//生成About us截取的长度
	$PageNumArticle= 8;
	//每页文章数量
	$CertificatePageNum = 8;							
	//每页证书数量
	$WorkshopPageNum = 12;							
	//每页工厂数量
	$brandPageNum = 12;							
	//每页品牌数量
	$PageNumNews=6;											
	//每页新闻列表数量
	$PageNumFaq=12;											
	//每页新闻列表数量
	$PageNumBlog = 12;
	//每页博客列表数量
	$PageNumDowbloads=8;									
	//每页下载列表数量
	$subFolder=false;											
	//默认不在子目录
	$FolderLength = 50;  									
	//生成文件夹名字截取的长度
	$SortingNum = 100;   									
	//排序初始值
	$BigFoldersProducts="images";						
	//上传产品图片大图文件夹名
	$SmallFoldersProducts="thumbnails";			
	//上传产品图片小图文件夹名
	$showSmallPicW=370;
	//输出样式缩略图宽
	$showSmallPicH=370;
	//输出样式缩略图高

	$videoW=500;
	//大图宽
	$videoH=500;
	//大图高
	$videoSizeMax=64;
	//视频大小 64M
	$showBigPicW=530;													
	//productsshow显示大图宽
	$showBigPicH=530;													
	//productsshow显示大图高
	$productPicsQuality=9;								
	//产品大图的图像质量
	$related_products_num = 3;
	//相关产品数量 $related_products_num*2
	$autoPaddingProductPics=false;				
	//是否对产品大图进行自动补白
	$thumbnailQuality=9;									
	//缩略图的图像质量
	$autoPaddingThumbnails=true;					
	//是否自动对缩略图进行补白
	$autoPaddingColor=array("red"=>255,"green"=>255,"blue"=>255);		
	//自动补白的颜色
	$MotifFolders="images";								
	//主题图片上传文件夹名，默认images，原来是 motif
	$defaultMotifFolders="../ima/default.png";								
	//默认主题图片上传文件夹名
	$WorkShopFolders="workshop";
	//工厂图片上传文件夹名
	$videoFolders="video";
	//视频上传文件夹
	$QualitycateFolders="qualitycontrol";					
	//认证证书上传文件夹名
	$CertificateFolders="certificate";					
	//认证证书上传文件夹名
	$homecertNum=7;
	//首页证书数量
	$downloadLogin=false;								
	//是否登录下载
	$downloadFolders="download";								
	//下载文件上传文件夹名
	$downloadSize =$uploadSize/1000000;											
	//下载文件大小 单位M为字节
	$qualitycontrolFolders="qualitycontrol";								
	//下载文件上传文件夹名
	$packingFolders="packing";	 	
	$projectsFolders="projects";
	$historyFolders="history";	
	//下载文件上传文件夹名
	$rdFolders="rd";	 						
	//下载文件上传文件夹名
	$brandFolders="brand";	 						
	//下载文件上传文件夹名
	$managementFolders="management";	 						
	//下载文件上传文件夹名
	
	$revolvingpicsFolders="revolvingpics";
	$revolvingPicW=60;
	$revolvingPicH=60;
	//下载文件上传文件夹名
	
	$mainMenuSpliter="　|　";									
	//主菜单项之间分割符
	$SubCateMenuPrefix="&nbsp;&nbsp;&nbsp;";	
	//小类菜单前缀						
	$midCateMenuPrefix="&nbsp;";							
	//中类菜单前缀
	$minCateDetailLength=900;		
	//详细说明长度，大于此长度将显示，否则显示正常产品小图页面
	$CateMenuPrefix="";				
	//大类菜单前缀						
	$CateLength=500;					
	//类别描述长度 decription
	$cateIconPicW=180;				
	//图标宽度
	$cateIconPicH=60;					
	//图标高度
	$itemsLines=1;
	//货号行数
	$nameLines=1;
	//产品名行数
//	$specNames="CAS number,E number,EC number";
//	$specValue="0000-00-0,E000,000-000-0";
	$specNames="";
	$specValue="";
	//默认属性
	
	$linkIconPicWidth=240;
	$linkIconPicHeight=50;
	$BatchFiles=25;					
	// 批处理文件一次的数量
	$newsNum=2;
	//生成首页new 和problem 截取的个数
	$faqNum=4;
	//生成首页faq 和faq 截取的个数	

	$proNum=6;													
	//生成首页hot products 截取的个数
	$showproductsFolders="page";					
	//生成产品大图文件夹
	$newsshowFolders="newspage";					
	//生成新闻文件夹
	
	$blogFolders="blog";
	//生成博客目录
	$blog_index_num = 5;
	//生成博客首页条数
	$blog_descrption_num = 300;
	//生成博客首页介绍字数
	
	$faqshowFolders="faqpage";					
	//生成新闻文件夹
					
	//生成移动新闻文件夹
	$pathuploadfiles="uploadfiles/";		
	//上传文件目录
	$Pagemessage=12;
	//反馈信息数量
	$usersNum=20; 
	//每页用户数量
	$teleNum=20; 
	//每页通信公司数量
	$productDescriptionTitle="";
	//产品详细标题

	//----水印参数
	$waterMarkPic="images/watermark";		
	//相对于ls_admin的水印图片的目录和文件名
	$waterMarkPicSmall="images/watermarksmall";	
	//相对于ls_admin的水印小图片的目录和文件名
	
	$logosPicFolder="images/logos";			
	//电信公司logo图片的目
	$waterMarkThumbnails=true;					
	//默认小图片输出
	
	//----水印参数end

	$relativeNewNum = 10;
	//相关新闻数量

	//----备份参数
	
	$backupSQLFile="backupdb/backup_db.sql";	
	//备份数据库生成的文件名
	$maxLenSQLStr=6400000;						
	//备份、恢复数据库时最大SQL串长度

	//----其他参数

	//一般性生成的文件
	$generalCreateFiles=array("select.php","select.html","search.php","sendmail.php","checkbox.html","checkbox.php","feedback.html","download_download.php","downloadlogin.php");

	//另外生成的页面
	$m_generalCreateFiles=array("select.php","search.php","sendmail.php","checkbox.html","checkbox.php","hot.html","map.html");
	//移动端另外生成的页面
	$generalCreateFilesMembers=array();
	//生成到member 文件夹下
	$generalCreateFilesAgents=array();		
	//生成到agnet 文件夹下

if($lang == "en"){
	$facebook_twitter = "<div class='social'>
	<ul>
		<li><a href='YOUR-FACEBOOK' target=\"_blank\" ><img src='../ls_admin/images/social_ico/facebook.png' title='Follow on Facebook'/></a></li>
		<li><a href='YOUR-LINKEDIN' target=\"_blank\" ><img src='../ls_admin/images/social_ico/linkedin.png'  title='Follow on LinkedIn'/></a></li>
		<li><a href='YOUR-TWITTER' target=\"_blank\" ><img src='../ls_admin/images/social_ico/twitter.png'  title='Follow on Twitter'/></a></li>
		<li><a href='YOUR-YOUTUBE' target=\"_blank\" ><img src='../ls_admin/images/social_ico/youtube.png'  title='Follow on Youtube'/></a></li>
		<li><a href='YOUR-PINTEREST' target=\"_blank\" ><img src='../ls_admin/images/social_ico/pinterest.png' title='Follow on Pinterest'/></a></li>
		<li><a href='YOUR-INSTAGRAM' target=\"_blank\" ><img src='../ls_admin/images/social_ico/instagram.png' title='Follow on Instagram'/></a></li> 
	</ul>
	</div>"; 
 
 
	//---facebook twitter 分享代码
	$facebook_twitter_share = "
<script type=\"text/javascript\">var switchTo5x=false;</script>
<script async src=\"https://ws.sharethis.com/button/buttons.js\" type=\"text/javascript\"></script>
<script type=\"text/javascript\">stLight.options({publisher: \"ur-e7ce4f47-f73f-369b-e701-8ed780e1437e\", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
<span class='st_sharethis_large' displayText='ShareThis'></span>
<span class='st_facebook_large' displayText='Facebook'></span>
<span class='st_twitter_large' displayText='Tweet'></span>
<span class='st_linkedin_large' displayText='LinkedIn'></span>
<span class='st_pinterest_large' displayText='Pinterest'></span>
<span class='st_reddit_large' displayText='Reddit'></span>
<span class='st_tumblr_large' displayText='Tumblr'></span> ";

}

if($lang == "cn"){
	
$facebook_twitter = " <div class='social'>
		<ul>
		<li><a href='YOUR-FACEBOOK' target=\"_blank\" ><img 
src='../ls_admin/images/social_ico/wechat.jpg' title='微信公众号YOUR-FACEBOOK'/></a></li>
		<li><a href='YOUR-TWITTER' target=\"_blank\" ><img 
src='../ls_admin/images/social_ico/weibo.jpg'  title='企业微博YOUR-TWITTER'/></a></li>
		<li><a href='YOUR-LINKEDIN' target=\"_blank\" ><img 
src='../ls_admin/images/social_ico/douyin.jpg'  title='抖音YOUR-LINKEDIN'/></a></li>
	</ul>
	</div> ";
/*
	<li><a href='YOUR-PINTEREST' target=\"_blank\" ><img 
src='../ls_admin/images/social_ico/toutiao.jpg'  title='今日头条'/></a></li>
		 <li><a href='YOUR-QQSPACE' target=\"_blank\" ><img 
src='../ls_admin/images/social_ico/qqspace.jpg'  title='QQ空间'/></a></li>		
*/
//---facebook twitter 分享代码
$facebook_twitter_share = '<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"6","bdPos":"right","bdTop":"145.5"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName("head")[0]||body).appendChild(createElement("script")).src="https://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion="+~(-new Date()/36e5)];</script>
';
}


$ls_schema_index=$ifnoschema?'':'<meta name="Author" Content="{ls_author}">
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta property="og:title" content="<translate>{ls_title}</translate>" />
<meta property="og:description" content="<translate>{ls_description}</translate>" />
<meta property="og:url" content="{ls_website}" />
<meta property="og:site_name" content="{ls_sitebrand}" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:description" content="<translate>{ls_description}</translate>" />
<meta name="twitter:title" content="<translate>{ls_title}</translate>" />
<script type=\'application/ld+json\'>{"@context":"https://schema.org","@type":"WebSite","@id":"#website","url":"{ls_website}/","name":"{ls_sitebrand}","potentialAction":{"@type":"SearchAction","target":"{ls_website}/search.html?keywords={search_term_string}","query-input":"required name=search_term_string"}}</script>'; //首页 schema 

$ls_schema_article=$ifnoschema?'':'<meta name="Author" Content="{ls_author}">
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="article" />
<meta property="og:title" content="<translate>{ls_title}</translate>" />
<meta property="og:description" content="<translate>{ls_description}</translate>" />
<meta property="og:site_name" content="{ls_sitebrand}" />
<meta property="og:url" content="{ls_currURL}" />
<meta property="article:tag" content="{ls_proname_nonintegrate}" />
<meta property="article:section" content="{ls_proname_nonintegrate}" />
<meta property="article:published_time" content="{ls_currTime}" />
<meta property="article:modified_time" content="{ls_currTime}" />
<meta property="og:updated_time" content="{ls_currTime}" />
<meta property="og:image" content="{ls_website}{ls_proshow}" />
<meta property="og:image:width" content="{ls_proshow_width}" />
<meta property="og:image:height" content="{ls_proshow_height}" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:description" content="<translate>{ls_description}</translate>" />
<meta name="twitter:title" content="<translate>{ls_title}</translate>" />
<meta name="twitter:image" content="{ls_website}{ls_proshow}" />';  //内页 schema 

	$engineName="Lanscend BlueSeaWin Webmotor";
	$ls_designBy="<a href=\"https://www.lanscend.com\" target=\"_blank\"> Designed by lanscend</a>";

	$ContactAttach='';
	$ContactAttach_m='';
	
	//----安装参数
	$generalCreateFiles1=array("links.html");	
	// 没有用户管理时一般性生成
	$generalCreateFiles2=array();							
	// 有用户管理时需要增加
	$initHost='localhost';
	$initDBName='test';
	$initDBUserName='root';
	$initDBPassword='ls8723';
	$initAdminPassword='admin';
	
	$initSmallPicHeight=370;
	$initSmallPicWidth=370;
	$initBigPicHigh=600;
	$initBigPicWidth=600;

	$defaultmenu=",news,faq,blog,products,aboutus,contactus,download,video,workshop,certificate,quality,rd,singlepage,management,history,notice";
	$menulinks=array("news"=>"news.php","faq"=>"faq.php","blog"=>"blog.php","products"=>"products.php","aboutus"=>"ls_about.php","contactus"=>"ls_contact.php","video"=>"video.php","workshop"=>"generalpics.php?gen=workshop","certificate"=>"generalpics.php?gen=certificate","quality"=>"generalpics.php?gen=quality","brand"=>"generalpics.php?gen=brand","management"=>"generalpics.php?gen=management","history"=>"generalpics.php?gen=history","notice"=>"ls_notice.php","singlepage"=>"singlepage.php"); //,"download"=>"download.php"
	
	$showmenu="系统功能,设置优化,关于我们,联系我们,询盘管理,修改密码,图片水印,导航栏目,菜单类别,内容编辑,添加内容,产品管理,产品类别,产品管理,添加产品,热点产品,类别迁移,新闻管理,新闻分类,全部新闻,添加新闻,管理问题,添加问题,全部博客,添加博客,博客链接,管理下载,添加下载,单页管理,管理单页,添加单页,管理视频,添加视频,其他栏目,工厂管理,认证管理,品牌管理,友情链接,页面生成,常用页面,产品页面,标签帮助,";

	//----安装参数end
	
	//----日志参数
	$logStat='start';
	$logSpace=20000;
	$logPage=20;	
	$maxLogSpace=20000;
	//----日志参数end
	
	//----ls_mantain参数
	$initCreatTypeHost='192.168.2.20';
	//数据库主机
	//----ls_mantain参数end
	$templates_var="Templates1";
	
	//----移动终端参数
	
	$PageNum_m=5;    
	//移动客户端news分页控制页数
	$newsshowFolders_m="newspage";
	$faqshowFolders_m="faqpage";
	$mobi_templates = "m/Templates_m1";
	$mobi_path = "m/";
	
	//----insert flag9
	$mutiLangDomianFlag="http://192.168.2.20/fl1/";
	$localIp=$initCreatTypeHost;

	//----insert proNum
	$proplace="last";
	
	/*产品详细页多个小图用到的路径*/
	$BigFoldersProducts="images";						//上传产品图片大图文件夹名

	//$newBigFoldersProducts="newimages";						//上传产品图片大图文件夹名
	
	$newBigFoldersProducts="images";						//上传产品图片大图文件夹名 17-8-19

	$SmallFoldersProducts="thumbnails";			//上传产品图片小图文件夹名

	$partImagesFolders="partImages";			//上传产品图片小图文件夹名

	//$newSmallFoldersProducts="newthumbnails";			//上传产品图片小图文件夹名
	
	$newSmallFoldersProducts="thumbnails";			//上传产品图片小图文件夹名 17-8-19
	
	//产品名字是否在菜单列出，产品比较少时使用,默认是false
	$ifProInMenu=true;


	//----多语种参数2

	if(!$googleTrans)
	{
		$language_array['french'] = "https://translate.google.com/translate?langpair=en%7Cfr&u=".$current_url;
		$language_array['russian'] = "https://translate.google.com/translate?langpair=en%7Cru&u=".$current_url;
		$language_array['german'] = "https://translate.google.com/translate?langpair=en%7Cge&u=".$current_url;
		$language_array['spanish'] = "https://translate.google.com/translate?langpair=en%7Csp&u=".$current_url;
		$language_array['portuguese'] = "https://translate.google.com/translate?langpair=en%7Cpo&u=".$current_url;
		$language_array['italian'] = "https://translate.google.com/translate?langpair=en%7Cit&u=".$current_url;
		$language_array['japanese'] = "https://translate.google.com/translate?langpair=en%7Cja&u=".$current_url;
		$language_array['korean'] = "https://translate.google.com/translate?langpair=en%7Cko&u=".$current_url;
		$language_array['arabic'] = "https://translate.google.com/translate?langpair=en%7Car&u=".$current_url;
		$language_array['vietnamese'] = "https://translate.google.com/translate?langpair=en%7Cvi&u=".$current_url;
		$language_array['belarus'] = "https://translate.google.com/translate?langpair=en%7Cbe&u=".$current_url;
		$language_array['ukraine'] = "https://translate.google.com/translate?langpair=en%7Cuk&u=".$current_url;
		$language_array['poland'] = "https://translate.google.com/translate?langpair=en%7Cpo&u=".$current_url;
	}
	else
	{
		$enDomian=str_replace("www.","",$current_url);
		if(is_dir("/fr"))$language_array['french'] = $subDomianLang?"fr.".$enDomian:$enDomian."fr";
		if(is_dir("/ru"))$language_array['russian'] =  $subDomianLang?"ru.".$enDomian:$enDomian."ru";
		if(is_dir("/de"))$language_array['german'] =  $subDomianLang?"de.".$enDomian:$enDomian."de";
		if(is_dir("/sp"))$language_array['spanish'] =  $subDomianLang?"sp.".$enDomian:$enDomian."sp";
		if(is_dir("/pt"))$language_array['portuguese'] =  $subDomianLang?"fr.".$enDomian:$enDomian."pt";
		if(is_dir("/ar"))$language_array['arabic'] =  $subDomianLang?"ar.".$enDomian:$enDomian."ar";
		if(is_dir("/it"))$language_array['italian'] =  $subDomianLang?"pt.".$enDomian:$enDomian."it";
		if(is_dir("/jp"))$language_array['japanese'] =  $subDomianLang?"jp.".$enDomian:$enDomian."jp";
		if(is_dir("/kr"))$language_array['korean'] =  $subDomianLang?"kr.".$enDomian:$enDomian."kr";
		if(is_dir("/nl"))$language_array['netherlands'] =  $subDomianLang?"nl.".$enDomian:$enDomian."nl";
		if(is_dir("/gr"))$language_array['greece'] =  $subDomianLang?"gr.".$enDomian:$enDomian."gr";
		if(is_dir("/id"))$language_array['indonesia'] =  $subDomianLang?"id.".$enDomian:$enDomian."id";
		if(is_dir("/ir"))$language_array['iran'] =  $subDomianLang?"ir.".$enDomian:$enDomian."ir";
		if(is_dir("/vt"))$language_array['vietnamese'] =  $subDomianLang?"vt.".$enDomian:$enDomian."vt";
		if(is_dir("/ba"))$language_array['belarus'] =  $subDomianLang?"ba.".$enDomian:$enDomian."ba";
		if(is_dir("/uk"))$language_array['ukraine'] =  $subDomianLang?"uk.".$enDomian:$enDomian."uk";
		if(is_dir("/pl"))$language_array['poland'] =  $subDomianLang?"pl.".$enDomian:$enDomian."pl";
		
	}
 
 	//翻译系统参数
	$translate_name = array(
		1 => array(
			'name' => '法语',
			'translate_name' => 'fr',
			'folder_name' => 'fr'
		),
		2 => array(
			'name' => '德语',
			'translate_name' => 'de',
			'folder_name' => 'de'
		),
		3=> array(
			'name' => '俄语',
			'translate_name' => 'ru',
			'folder_name' => 'ru'
		),
		4 => array(
			'name' => '意大利语',
			'translate_name' => 'it',
			'folder_name' => 'it'
		),
		5 => array(
			'name' => '葡萄牙语',
			'translate_name' => 'pt',
			'folder_name' => 'pt'
		),
		6=> array(
			'name' => '西班牙语',
			'translate_name' => 'es',
			'folder_name' => 'es'
		),
		7 => array(
			'name' => '日语',
			'translate_name' => 'ja',
			'folder_name' => 'jp'
		),
		8 => array(
			'name' => '韩语',
			'translate_name' => 'ko',
			'folder_name' => 'kr'
		),
		9=> array(
			'name' => '阿拉伯语',
			'translate_name' => 'ar',
			'folder_name' => 'ae'
		),
		10 => array(
			'name' => '荷兰',
			'translate_name' => 'nl',
			'folder_name' => 'nl'
		),
		11 => array(
			'name' => '瑞典',
			'translate_name' => 'sv',
			'folder_name' => 'se'
		),
		12=> array(
			'name' => '挪威',
			'translate_name' => 'no',
			'folder_name' => 'no'
		),
		13 => array(
			'name' => '波兰',
			'translate_name' => 'pl',
			'folder_name' => 'pl'
		),
		14 => array(
			'name' => '捷克',
			'translate_name' => 'cs',
			'folder_name' => 'cz'
		),
		15=> array(
			'name' => '匈牙利',
			'translate_name' => 'hu',
			'folder_name' => 'hu'
		),
		16 => array(
			'name' => '乌克兰',
			'translate_name' => 'uk',
			'folder_name' => 'ua'
		),
		17 => array(
			'name' => '越南',
			'translate_name' => 'vi',
			'folder_name' => 'vn'
		),
		18=> array(
			'name' => '马来西亚',
			'translate_name' => 'ms',
			'folder_name' => 'my'
		),
		19 => array(
			'name' => '丹麦',
			'translate_name' => 'da',
			'folder_name' => 'dk'
		),
		20 => array(
			'name' => '芬兰',
			'translate_name' => 'fi',
			'folder_name' => 'fi'
		),
		21=> array(
			'name' => '希腊',
			'translate_name' => 'el',
			'folder_name' => 'gr'
		),
		22 => array(
			'name' => '土耳其',
			'translate_name' => 'tr',
			'folder_name' => 'tr'
		),
		23 => array(
			'name' => '罗马尼亚',
			'translate_name' => 'ro',
			'folder_name' => 'ro'
		),
		24=> array(
			'name' => '保加利亚',
			'translate_name' => 'bg',
			'folder_name' => 'bg'
		),
		25 => array(
			'name' => '克罗地亚',
			'translate_name' => 'hr',
			'folder_name' => 'hr'
		),
		26 => array(
			'name' => '印尼',
			'translate_name' => 'id',
			'folder_name' => 'id'
		),
		27=> array(
			'name' => '泰语',
			'translate_name' => 'th',
			'folder_name' => 'th'
		),
		28=> array(
			'name' => '波斯语',
			'translate_name' => 'fa',
			'folder_name' => 'ir'
		)
	);


?>