<?php
	error_reporting(E_ALL ^ E_NOTICE);
	ini_set('date.timezone','Asia/Shanghai'); 
	//设置上海时间
	
	//----版本号参数
	$lsVer=2.55;
	$date="2013-02-25   19:02:01";
	
	//----SEO参数
	$seoFrefix2=" Chinese ";
	$seoFrefix1=" China ";
	$seoSufix2=" Suppliers ";
	$seoSufix1=" Manufacture ";
	$awstatsUrl="http://50.116.98.186:2082/awstats.pl?config=pma.lanscend.cn&ssl=&lang=cn";
	//----SEO参数end	
	$lang = "en"; //语言变量 (默认en) en | cn  两种语言
	
	$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'=>"<translate>Previous</translate>",
		'next'=>"<translate>Next</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'=>"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'=>"友情链接",
		'sendmailFailMsg'=>"抱歉，您的反馈信息未能发出。",
		'sendmailOKMsg'=>"谢谢，给我们的反馈信息已经发送，我们尽快和您取得联系。"
	);
	
	//翻译产品密钥
	$translate_key = 'AIzaSyBeplU1gjr8Z2orS3tlvEN80lnOEqL8Ook';    
	//翻译系统参数
	$translate_name = array(
		1 => array(
			'name' => '法语',
			'translate_name' => 'fr',
			'folder_name' => 'fr'
		),
		2 => array(
			'name' => '德语',
			'translate_name' => 'de',
			'folder_name' => 'ger'
		),
		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' => 'ro',
			'folder_name' => 'ro'
		),
		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'
		)
	);
	
	//----控制参数
	$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
	
	$productSort="Num";    //产品排序
	$newsSort="Num";      //新闻的排序方式 按ID和Num
	//---- 产品管理参数
	$productshowstyle="list";
	//产品列表形式： gallary 相册方式(默认) 9 ，list 图片、产品和简要说明列表 6， name 只列产品名字 12， style4,style5
	$PageNum=8;														
	//每页产品数量
	$artcatePageNum=12;														
	//每页产品数量
	$PageNum_pro_m =15;
	//手机产品每页数量
	$productBrowerNoOffset=3;							
	// 产品页数字导航偏移量
	$aboutLength = 650;  									
	//生成About us截取的长度
	$NewPageNum = 15;											
	//每页新闻数量
	$CertificatePageNum = 8;							
	//每页证书数量
	$WorkshopPageNum = 6;							
	//每页工厂数量
	$brandPageNum = 12;							
	//每页品牌数量
	$PageNumNews=14;											
	//每页新闻列表数量
	$PageNumFaq=14;											
	//每页新闻列表数量
	$PageNumBlog = 6;
	//每页博客列表数量
	$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";
	//大图高
	$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";					
	//认证证书上传文件夹名
	$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=8;													
	//生成首页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

	//多语种翻译
	$current_url = $_SERVER['HTTP_HOST'];
	$language_array = array();
	$language_array['french'] = "http://translate.google.com/translate?langpair=en%7Cfr&u=".$current_url;
	$language_array['russian'] = "http://translate.google.com/translate?langpair=en%7Cru&u=".$current_url;
	$language_array['german'] = "http://translate.google.com/translate?langpair=en%7Cge&u=".$current_url;
	$language_array['spanish'] = "http://translate.google.com/translate?langpair=en%7Csp&u=".$current_url;
	$language_array['portuguese'] = "http://translate.google.com/translate?langpair=en%7Cpo&u=".$current_url;
	$language_array['italian'] = "http://translate.google.com/translate?langpair=en%7Cit&u=".$current_url;
	$language_array['japanese'] = "http://translate.google.com/translate?langpair=en%7Cja&u=".$current_url;
	$language_array['korean'] = "http://translate.google.com/translate?langpair=en%7Cko&u=".$current_url;
	$language_array['arabic'] = "http://translate.google.com/translate?langpair=en%7Car&u=".$current_url;
	$language_array['vietnamese'] = "http://translate.google.com/translate?langpair=en%7Cvi&u=".$current_url;
	$language_array['belarus'] = "http://translate.google.com/translate?langpair=en%7Cbe&u=".$current_url;
	$language_array['ukraine'] = "http://translate.google.com/translate?langpair=en%7Cuk&u=".$current_url;
	$language_array['poland'] = "http://translate.google.com/translate?langpair=en%7Cpo&u=".$current_url;

	//需要进行一般性（比如 singnup, indexuser.htm）生成的文件
	$generalCreateFiles=array("select.php","select.html","search.php","sendmail.php","checkbox.html","checkbox.php","hot.html");
	//另外生成的页面
	$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\">  大图标
	$facebook_twitter = "<div class='social'>
	<ul>
		<li><a href='YOUR-FACEBOOK' target=\"_blank\" ><img src='../ls_admin/images/social_ico/facebook.jpg' title='Follow on Facebook'/></a></li>
		<li><a href='YOUR-TWITTER' target=\"_blank\" ><img src='../ls_admin/images/social_ico/twitter.jpg'  title='Twitter'/></a></li>
		<li><a href='YOUR-LINKEDIN' target=\"_blank\" ><img src='../ls_admin/images/social_ico/linkedin.jpg'  title='Follow on LinkedIn'/></a></li>
		<li><a href='YOUR-GOOGLE' target=\"_blank\" ><img src='../ls_admin/images/social_ico/google+.jpg'  title='Follow on Google'/></a></li>
		<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-YOUTUBE' target=\"_blank\" ><img src='../ls_admin/images/social_ico/youtube.jpg'  title='Follow on Youtube'/></a></li>
	</ul>
	</div>";

	//---facebook twitter 分享代码
	$facebook_twitter_share = "
<script type=\"text/javascript\">var switchTo5x=false;</script>
<script src=\"http://w.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_googleplus_large' displayText='Google +'></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>";

	//----联系我们参数
	$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=\"http://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="http://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/floor_mml/";
	$localIp=$initCreatTypeHost;


	//----insert proNum
	$proplace="last";
?>