<?php

/**
 * @version V1.0  2013-6
 * @copyright    www.house365.com
 * @package core
 * 各站配置文件
 */
$conf_city = "sz";
$conf_tplpath = "";
$conf_cityname = "苏州";


/****数据库配置开始****/
$conf_db_type = "mysql";
$conf_db_host = "172.17.1.51";
$conf_db_user = "root";
$conf_db_password = "idontcare";
$conf_db_name = "sz_house";
$conf_db_debug = false;
$conf_db_charset = "gbk";
$conf_db_connect = "0";
$conf_default_tplpath = "./template" . $conf_tplpath; //模板路径

$conf_dbback_host = "172.17.1.51";
/****数据库配置结束****/

//房源信息数组
$conf_house = array(
    "infofrom"  => array ('1'=>'个人', '2'=>'中介门店','5'=>'经纪人'),
   "infotype"	=> array ('1'=>'住宅', '2'=>'别墅','3'=>'写字楼','4'=>'商铺','5'=>'厂房仓库车库'),
   "district" => array('园区' => '园区', '姑苏区' => '姑苏区', '新区' => '新区', '吴中区' => '吴中区', '相城区' => '相城区', '吴江' => '吴江', '昆山' => '昆山', '太仓' => '太仓', '常熟' => '常熟', '张家港' => '张家港'),
   "mright"		=> array ('产权房'=>'产权房','使用权房'=>'使用权房'),
   "fitment" => array('毛坯' => '毛坯', '简装' => '简装', '中装' => '中装', '精装' => '精装', '豪华装' => '豪华装'),
   "renttype" => array('整租' => '整租', '转租' => '转租', '合租' => '合租', '日租' => '日租,短租'),
   "rentday" => array('一年' => '一年', '半年' => '半年', '一季' => '一季', '一月' => '一月','5天'=>'5天'),
   "priceunit" => array('1' => '元/月', '2' => '元/天*平方米', '3' => '元/月*平方米'),
   "payment"	=> array ('月付'=>'月付', '季付'=>'季付','半年付'=>'半年付', '年付'=>'年付','面议'=>'面议'),
   "priceterm"	=> array ('1'=>'双方各自付税','2'=>'房主净得价'),
   "priceterm_r"	=> array ('2'=>'房主净得价','1'=>'含租赁税'),
   "pricetype"	=> array ('2'=>'有营业税','1'=>'无营业税'),
   "pic_sort"	=>array ('2'=>'室内图', '1'=>'外景图', '0'=>'户型图'),
   "price_rent" => array('1'=>'500元以下','2'=>'500-800元','3'=>'800-1200元','4'=>'1200-1500元','5'=>'1500-2000元','6'=>'2000元以上'),
   "price_sell" => array('1'=>'40万以下','2'=>'40-60万','3'=>'60-90万','4'=>'90-120万','5'=>'120-150万','6'=>'150-200万','7'=>'200-300万','8'=>'300-500万','9'=>'500万以上'),
    "buildarea" => array('1'=>'40平米以下','2'=>'40-60平米','3'=>'60-80平米','4'=>'80-100平米','5'=>'100-120平米','6'=>'120-144平米','7'=>'144-200平米','8'=>'200-400平米','9'=>'400平米以上'),
    "roomtype"=>array('1'=>'一室','2'=>'二室','3'=>'三室','4'=>'四室','5'=>'五室及以上'),
    "roomcategory"=>array('1'=>'非多图','2'=>'多图','3'=>'急推','4'=>'新房直售'),
    "roomrentcategory"=>array('1'=>'非多图','2'=>'多图','3'=>'急推'),
    "roomorder"=>array('1'=>'更新时间从近到远','2'=>'更新时间从远到近','3'=>'发布时间从近到远','4'=>'发布时间从远到近','5'=>'总价从低到高','6'=>'总价从高到低','7'=>'面积从小到大','8'=>'面积从大到小'),
    "roomrentorder"=>array('1'=>'更新时间从近到远','2'=>'更新时间从远到近','3'=>'发布时间从近到远','4'=>'发布时间从远到近','5'=>'租金从低到高','6'=>'租金从高到低','7'=>'面积从小到大','8'=>'面积从大到小'),
	"skill" => array('普通住宅' => '普通住宅', '学区房' => '学区房', '别墅豪宅' => '别墅豪宅', '日租房' => '日租房', '酒店式公寓' => '酒店式公寓', '涉外高端租赁' => '涉外高端租赁', '写字楼' => '写字楼', '商铺' => '商铺', '工业厂房' => '工业厂房'),
);

//全局URI参数映射配置文件
$uri_array = array();
$uri_district = array(1 => '园区', 2 => '姑苏区', 3 => '新区', 4 => '吴中区', 5 => '相城区', 6 => '吴江', 7 => '昆山', 8 => '太仓', 9 => '常熟', 10 => '张家港');
$uri_district_asc = array_flip($uri_district);
$uri_fitment  = array ( 1 => '毛坯', 2=> '简装', 3 => '中装' , 4 => '精装' , 5 => '豪华装');
$uri_fitment_asc = array_flip($uri_fitment);
$uri_renttype  = array (1 => '整租', 2 => '转租', 3 => '合租', 4 => '日租,短租');
$uri_renttype_asc = array_flip($uri_renttype);
$uri_forward  =  array (1 => '南', 2 => '西南',3 =>'东', 4 => '东南', 5 => '北', 6 => '东北', 7 => '西',8 => '西北',9 => '南北',10 => '东西');
$uri_forward_asc = array_flip($uri_forward);

$config_hitch = 1;//配置急推

/****在线评估配置开始****/
$conf_online_db_host = "172.17.1.187";
$conf_online_db_user = "root";
$conf_online_db_password = "idontcare";
$conf_online_db_name = "online";
/****在线评估配置结束****/

//中间件
define('NS_SELL',"172.17.1.69/szsellnew");//外网地址：221.231.141.146
define('NS_RENT',"172.17.1.69/szrent");
//单条刷新接口
$midwork_refreshurl = "http://172.17.1.76:100/Housenew/API?city=SZ";


//配置积分模块是否生效
$config_BrokerCredit = 1; //可选 0代表失效；1代表生效
//积分模块的规则.(各站的积分规则不一定相同，需要根据各站情况配置)
$credit_arr = array(
			'plus_open'		  => array('title'=>'开通账号加分',	'sign'=>'+', 'credit'=>0),
			'plus_identity'	  => array('title'=>'身份认证',			'sign'=>'+', 'credit'=>300),
			'plus_card' 	  => array('title'=>'名片认证',			'sign'=>'+', 'credit'=>200),
			'plus_smallphoto' => array('title'=>'工作照',			'sign'=>'+', 'credit'=>200),
			'plus_locCertificate' => array('title'=>'苏州房产经纪人证书','sign'=>'+', 'credit'=>200),
			'plus_pubCertificate' => array('title'=>'全国房产经纪人证书','sign'=>'+', 'credit'=>200),
			'plus_login' 	  => array('title'=>'登录',				'sign'=>'+', 'credit'=>50),
			'plus_isstar'	  => array('title'=>'发布多图房源',		'sign'=>'+', 'credit'=>100),
			'plus_blockimg'	  => array('title'=>'小区图库收录',		'sign'=>'+', 'credit'=>200),
			'plus_windowback' => array('title'=>'橱窗积分返还',		'sign'=>'+', 'credit'=>0),
			'plus_operate'	  => array('title'=>'系统变更加分',		'sign'=>'+', 'credit'=>0),
			'plus_block'	  => array('title'=>'返还申请小区专家',	'sign'=>'+', 'credit'=>500),
			'minus_block'	  => array('title'=>'成功申请小区专家',	'sign'=>'-', 'credit'=>500),
			'minus_frozen'	  => array('title'=>'冻结房源',			'sign'=>'-', 'credit'=>100),
			'minus_window'	  => array('title'=>'橱窗展示投入',		'sign'=>'-', 'credit'=>0, 'viewcredit'=>-5),
			'minus_operate'	  => array('title'=>'系统变更扣分',		'sign'=>'-', 'credit'=>0)
);
//权限配置
$config_windows = 0;//配置橱窗
$config_hitch = 1;//配置急推
$config_faq = 1;//配置FAQ

//配置新房免佣模块是否生效
$conf_nofee = 1; //0代表无效；1代表生效

//配置预约看房后台是否开放,1开放，0不开放
$config_order = 1;

//开启小区专家
$config_xqzj = 1;

//积分详细说明
$GB_JFSM = "http://zsb.house365.com/help/?p=434";

//积分规则说明
$GB_JFGZ = "http://zsb.house365.com/help/?p=345";

$sell_url = "http://sz.sell.house365.com";
$rent_url = "http://sz.rent.house365.com";
?>