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

	error_reporting(E_ALL ^ E_NOTICE ^E_WARNING);
	ini_set('date.timezone','Asia/Shanghai'); 
	//设置上海时间
	$ls_local=($_SERVER['SERVER_ADDR']=="192.168.2.20");
	$ls_debug=  $ls_local;	
	//$ls_debug=true;  // 调试模式，输出 调试文件名，行号，变量名
	//$ls_debug=false;  // 调试模式，输出 调试文件名，行号，变量名
	$lang = "en"; //语言变量 (默认en) en | cn  两种语言
	//$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; 


	//----版本号参数
	$lsVer=2.55;
	$date="2013-02-25   19:02:01";
	
	//翻译
	$googleTrans=false;
	//$googleTrans=true;
	$manualTrans=true; //谷歌在线手工翻译	
	$transFlags="fr,de";	  //设置语言，而且 $googleTrans=true;
	//$transFlags="fr,nl";	
	$subDomianLang=true;


	$translate_key = 'AIzaSyDNsD5IJS0HyQv7ZktXimXl-w1rRP_q8oY';   
 
 	$simuTransCons=1; //模拟翻译
	$_SESSION['transAll']=1;  //全部覆盖 含模拟翻译
	$simuTransLow=true; //低级模拟翻译 ~fr~ 分割，ls_syscode, function translat

	//$simuTransCons=0; //模拟翻译
	//$_SESSION['transAll']=0;  //翻译全部，否则 翻译没翻译过的（含模拟翻译）
	//$simuTransLow=false; //低级模拟翻译 ~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;

	$seoFrefix2=" Chinese ";
	$seoFrefix1=" China ";
	$seoSufix2=" Suppliers ";
	$seoSufix1=" Manufacture ";
	$awstatsUrl="http://50.116.98.186:2082/awstats.pl?config=pma.lanscend.cn&ssl=&lang=cn";
	$promlv=2;
	//1 2 3
	//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();
	
	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'
		)
	);
	
	
	$lang_en = array(
		'seoFrefix1'=>"China",  //长尾前缀
		'seoFrefix2'=>"Chinese ", //长尾前缀
		'seoSufix1'=>'Suppliers', //长尾后缀
		'seoSufix2'=>'Manufacture', //长尾后缀
		'awstatsUrl'=>"http://50.116.98.186:2082/awstats.pl?config=pma.lanscend.cn&ssl=&lang=cn",
		'previous'=>"Previous",
		'next'=>"Next",
		'home'=>"Home",
		'about'=>"About Us",
		'products'=>"Products",
		'workshop'=>"Workshop",
		'certificate'=>"Certificate",
		'quality'=>"Quality",
		'packing'=>"Packing",
		'rd'=>"R&amp;D",
		'brand'=>"Brand",
		'history'=>"history",
		'management'=>"Management",
		'news'=>"News",
		'faq'=>"FAQs",
		'blog'=>"Blog",
		'download'=>"Download",
		'video'=>"Video",
		'feedback'=>"Feedback",
		'contact'=>"Contact Us",
		'hotpro'=>"Hot Products",
		'newpro'=>"New Products",
		'links'=>"Links",
		'sendmailFailMsg'=>"SORRY, YOUR MESSAGE SENDING FAILURE.",
		'sendmailOKMsg'=>"THANK YOU FOR CONTACTING US, OUR CUSTOMER SERVICE REPRESENTATIVE WILL CONTACT YOU WITHIN 24 HOURS. THANK YOU AGAIN!"
	);
	
	$lang_cn = array(
		'seoFrefix1'=>"河北",  //长尾前缀
		'seoFrefix2'=>"价格", //长尾前缀
		'seoSufix1'=>'厂家',  //长尾后缀
		'seoSufix2'=>'生产厂',  //长尾后缀
		'awstatsUrl'=>"http://50.116.98.186:2082/awstats.pl?config=pma.lanscend.cn&ssl=&lang=cn",
		'previous'=>"上一条",
		'next'=>"下一条",
		'home'=>"首页",
		'about'=>"关于我们",
		'products'=>"产品中心",
		'workshop'=>"工厂车间",
		'certificate'=>"质量证书",
		'quality'=>"质量控制",
		'packing'=>"产品包装",
		'rd'=>"研发中心",
		'brand'=>"品牌中心",
		'history'=>"公司历史",
		'management'=>"管理团队",
		'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'=>"编号",
		 


		'sendmailFailMsg'=>"抱歉，您的反馈信息未能发出。",
		'sendmailOKMsg'=>"谢谢，给我们的反馈信息已经发送，我们尽快和您取得联系。"
	);

	//反馈表过滤词组
	$filterWords=array("message");  //逗号分隔词组，如果反馈内容等于这些词组，不发送
	
	$suffStrlist=true;
	//suffStr 是列表，否则和新闻一样

	//----控制参数
	$onepicovercate=true;
	//1个产品详细页覆盖类别页
	$mainMenuStyle="Vertical";
	//主菜单风格可取值为：Vertical，Horizontal
	$proCateStytle="Full Expanded Vertical";	
	//产品菜单风格可取值为：Full Expanded Vertical, Popup Expanded Vertical, Hover Expended Vertical, Hover Drawer Horizontal, Icon List
	$catedetailStytle="allCateProducts";	//selectProducts 列出类别代表图  //allCateProducts 列出类别所有小类产品
	$homehrefStytle="prohref";	//classhref 产品所在类的列表页    prohref 产品详页
	$titlePicW=900;
	//主题图宽
	$titlePicH=300;
	//主题图高
	
	$ls_classproType="selectPic";
	//  picIntro    product 菜单项链接文件{$ls_classpro} productlist.html 标签控制参数：pic 默认图片列表，picIntro: 图片加说明， cateList：产品分类展开列表，  selectPic 或者默认 后台每类选择图片 文字水命并排序
	$ls_classproPicW=180;
	//$ls_class缩略图宽
	$ls_classproPicH=180;
	//$ls_class缩略图高
	
	$ls_catepicsPicW=150;
	//首页多类产品滚动图片宽 function get_product_cate_pics in temp_index.php
	$ls_catepicsPicH=150;
	//首页多类产品滚动图片高
	
	$codeRetryTimes=2;
	//验证码出现前允许重试次数

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

	$videoW="500";
	//大图宽
	$videoH="500";
	//大图高
	$videoSizeMax=64;
	//视频大小 M
	$showBigPicW="530";													
	//productsshow显示大图宽
	$showBigPicH="530";													
	//productsshow显示大图高
	$productPicsQuality=9;								
	//产品大图的图像质量
	$related_products_num = 3;
	//相关产品--前N个产品与后N个产品
	$autoPaddingProductPics=false;				
	//是否对产品大图进行自动补白
	$thumbnailQuality=9;									
	//缩略图的图像质量
	$autoPaddingThumbnails=true;					
	//是否自动对缩略图进行补白
	$autoPaddingColor=array("red"=>255,"green"=>255,"blue"=>255);		
	//自动补白的颜色
	$MotifFolders="motif";								
	//主题图片上传文件夹名
	$defaultMotifFolders="../ima/default.png";								
	//默认主题图片上传文件夹名
	$WorkShopFolders="workshop";
	//工厂图片上传文件夹名
	$videoFolders="video";
	//视频上传文件夹
	$QualitycateFolders="qualitycontrol";					
	//认证证书上传文件夹名
	$CertificateFolders="certificate";					
	//认证证书上传文件夹名
	$homecertNum=4;
	//首页证书数量
	$downloadLogin=false;								
	//是否登录下载
	$downloadFolders="download";								
	//下载文件上传文件夹名
	$downloadSize =20;											
	//下载文件大小 单位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=0;		
	//详细说明长度，大于此长度将显示，否则显示正常产品小图页面
	$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 截取的个数
	$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;					
	//默认小图片输出
	//$waterMarkThumbnails=FALSE;				
	//默认小图片不输出
	//----水印参数end

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

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


	//需要进行一般性（比如 singnup, indexuser.htm）生成的文件
	$generalCreateFiles=array("select.php","select.html","search.php","sendmail.php","checkbox.html","checkbox.php","feedback.html","download_download.php","downloadlogin.php");
	//$generalCreateFiles=array("search.php","sendmail.php", "downloadlogin.php", "download_wire-tec.php", "download_fence-solutions.php", "download_garden-supplies.php");

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

	//---facebook twitter 微博代码  <div class=\"addthis_toolbox addthis_default_style\"> 小图标  <div class=\"addthis_toolbox addthis_32x32_style addthis_default_style\">  大图标
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-TWITTER' target=\"_blank\" ><img src='../ls_admin/images/social_ico/twitter.png'  title='Twitter'/></a></li>
		<li><a href='YOUR-LINKEDIN' target=\"_blank\" ><img src='../ls_admin/images/social_ico/linkedin.png'  title='Follow on LinkedIn'/></a></li>
		
	</ul>
	</div>"; 

/* 
		<li><a href='YOUR-PINTEREST' target=\"_blank\" ><img src='../ls_admin/images/social_ico/pinterest.jpg' title='Follow on Pinterest'/></a></li>
		<li><a href='YOUR-INSTAGRAM' target=\"_blank\" ><img src='../ls_admin/images/social_ico/instagram.jpg' title='Follow on Pinterest'/></a></li> */
 
	//---facebook twitter 分享代码
	$facebook_twitter_share = "
<script type=\"text/javascript\">var switchTo5x=false;</script>
<script 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_digg_large' displayText='Digg'></span>
<span class='st_reddit_large' displayText='Reddit'></span>
<span class='st_tumblr_large' displayText='Tumblr'></span>
<span class='st_mail_ru_large' displayText='mail.ru'></span>
<span class='st_myspace_large' displayText='MySpace'></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='微信公众号'/></a></li>
		<li><a href='YOUR-TWITTER' target=\"_blank\" ><img 
src='../ls_admin/images/social_ico/weibo.jpg'  title='企业微博'/></a></li>
		<li><a href='YOUR-LINKEDIN' target=\"_blank\" ><img 
src='../ls_admin/images/social_ico/douyin.jpg'  title='抖音'/></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="http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion="+~(-new Date()/36e5)];</script>
';
}


$ls_schema_index='<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_index='<link rel="author" href="{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>" />'; //首页 schema 
*/
$ls_schema_article='<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 

	//----联系我们参数
/*	$sendmailFailMsg="SORRY, YOUR MESSAGE SENDING FAILURE.";
	$sendmailFailMsgcn="抱歉，您的反馈信息未能发出。";
	$sendmailOKMsg=" THANK YOU FOR CONTACTING US, OUR CUSTOMER SERVICE REPRESENTATIVE WILL CONTACT YOU WITHIN 24 HOURS. THANK YOU AGAIN! ";
	$sendmailOKMsgcn="谢谢，给我们的反馈信息已经发送，我们尽快和您取得联系。";
*/	
	$engineName="Lanscend WebMotor";
	$ls_designBy="<a href=\"https://www.lanscend.com\" target=\"_blank\"> Designed by lanscend</a>";

	$ContactAttach='
		<div><br><iframe width="650" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=shijiazhuang&amp;ie=UTF8&amp;om=0&amp;ll=40.010787,115.576172&amp;spn=4.057083,9.887695&amp;z=6&amp;output=embed&amp;s=AARTsJqjog8iSBSLNjlPFxYG9xF3Pr6KtA"></iframe>
</div><div>
		It is about 270 Kilomaters from Beijing to Shijiazhuang, 3 hours by car. <br>
		It is about 280 Kilomaters from Tianjin to Shijiazhuang, 4 hours by car. <br><br>
		Shijiazhuang, capital of Hebei Province, is situated 270 kilometers southwest 
		of Beijing. Bordering the Taihang Mountains in the west, it faces 
		the vast and rich North China Plain on its three other sides. It 
		is the intersection of the Beijing-Guangzhou, Shijiazhuang -Dezhou, 
		and Shijiazhuang-Taiyuan railway lines and one of the centers of 
		communications in China. It encompasses 15,653 square kilometres, 
		has a population of 8.75 million.</div>	';
	$ContactAttach_m='<div><br><img src="images/map.jpg" />
</div><div>
		It is about 270 Kilomaters from Beijing to Shijiazhuang, 3 hours by car. <br>
		It is about 280 Kilomaters from Tianjin to Shijiazhuang, 4 hours by car. <br><br>
		Shijiazhuang, capital of Hebei Province, is situated 270 kilometers southwest 
		of Beijing. Bordering the Taihang Mountains in the west, it faces 
		the vast and rich North China Plain on its three other sides. It 
		is the intersection of the Beijing-Guangzhou, Shijiazhuang -Dezhou, 
		and Shijiazhuang-Taiyuan railway lines and one of the centers of 
		communications in China. It encompasses 15,653 square kilometres, 
		has a population of 8.75 million.</div>	';
	//----联系我们参数end

	//----安装参数
	$generalCreateFiles1=array("links.html");	
	// 没有用户管理时一般性生成
	$generalCreateFiles2=array();							
	// 有用户管理时需要增加
	$initHost='localhost';
	$initDBName='test';
	$initDBUserName='root';
	$initDBPassword='ls8723';
	$initAdminPassword='admin';
	
	$initSmallPicHeight=150;
	$initSmallPicWidth=150;
	$initBigPicHigh=600;
	$initBigPicWidth=600;
	//----安装参数end
	
	
	//----日志参数
	$logStat='start';
	$logSpace=20000;
	$logPage=20;	
	$maxLogSpace=20000;
	//----日志参数end
	
	//----ls_mantain参数
	$initCreatTypeHost='192.168.2.20';
	//数据库主机
	//----ls_mantain参数end
	$templates_var="Templates1";
	
	$awstatsUrl="http://50.116.98.186:2082/awstats.pl?config=pma.lanscend.cn&ssl=&lang=cn";
	//访问统计网址
	
	//----移动终端参数设置
	$PageNum_m=5;    
	//移动客户端news分页控制页数
	$newsshowFolders_m="newspage";
	$faqshowFolders_m="faqpage";
	$mobi_templates = "m/Templates_m1";
	$mobi_path = "m/";
	
	//----移动终端end
	
	//----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;

	$protextseed=array(	 //多段内容
		"As a professional supplier of plant extract, we can Concentrate the resources to make quality {999999}, and strive to meet the diverse needs of users, make custom products. We have the ability to control material collection to guarantee supply and improve our processing to meet customized demand on moisture etc.",
		"As a professional supplier of plant extract, and strive to meet the diverse needs of users, make custom products, we can supply chinese quality {999999}. We have the ability to control material collection to guarantee supply and improve our processing to meet customized demand on moisture etc.");
	//----相关关键词产品介绍，ls_keywordstags.php 
?>