<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

/*
  |--------------------------------------------------------------------------
  | Base Site URL
  |--------------------------------------------------------------------------
  |
  | URL to your CodeIgniter root. Typically this will be your base URL,
  | WITH a trailing slash:
  |
  |	http://example.com/
  |
  | If this is not set then CodeIgniter will guess the protocol, domain and
  | path to your installation.
  |
 */
$config['base_url'] = 'http://'.GB_CITY.'.zsb.house365.com/';

/*
  |--------------------------------------------------------------------------
  | Index File
  |--------------------------------------------------------------------------
  |
  | Typically this will be your index.php file, unless you've renamed it to
  | something else. If you are using mod_rewrite to remove the page set this
  | variable so that it is blank.
  |
 */
$config['index_page'] = '';

/*
  |--------------------------------------------------------------------------
  | URI PROTOCOL
  |--------------------------------------------------------------------------
  |
  | This item determines which server global should be used to retrieve the
  | URI string.  The default setting of 'AUTO' works for most servers.
  | If your links do not seem to work, try one of the other delicious flavors:
  |
  | 'AUTO'		Default - auto detects
  | 'PATH_INFO'		Uses the PATH_INFO
  | 'QUERY_STRING'	Uses the QUERY_STRING
  | 'REQUEST_URI'		Uses the REQUEST_URI
  | 'ORIG_PATH_INFO'	Uses the ORIG_PATH_INFO
  |
 */
$config['uri_protocol'] = 'AUTO';

/*
  |--------------------------------------------------------------------------
  | URL suffix
  |--------------------------------------------------------------------------
  |
  | This option allows you to add a suffix to all URLs generated by CodeIgniter.
  | For more information please see the user guide:
  |
  | http://codeigniter.com/user_guide/general/urls.html
 */

$config['url_suffix'] = '';

/*
  |--------------------------------------------------------------------------
  | Default Language
  |--------------------------------------------------------------------------
  |
  | This determines which set of language files should be used. Make sure
  | there is an available translation if you intend to use something other
  | than english.
  |
 */
$config['language'] = 'english';

/*
  |--------------------------------------------------------------------------
  | Default Character Set
  |--------------------------------------------------------------------------
  |
  | This determines which character set is used by default in various methods
  | that require a character set to be provided.
  |
 */
$config['charset'] = 'GBK';

/*
  |--------------------------------------------------------------------------
  | Enable/Disable System Hooks
  |--------------------------------------------------------------------------
  |
  | If you would like to use the 'hooks' feature you must enable it by
  | setting this variable to TRUE (boolean).  See the user guide for details.
  |
 */
$config['enable_hooks'] = FALSE;


/*
  |--------------------------------------------------------------------------
  | Class Extension Prefix
  |--------------------------------------------------------------------------
  |
  | This item allows you to set the filename/classname prefix when extending
  | native libraries.  For more information please see the user guide:
  |
  | http://codeigniter.com/user_guide/general/core_classes.html
  | http://codeigniter.com/user_guide/general/creating_libraries.html
  |
 */
$config['subclass_prefix'] = 'MY_';


/*
  |--------------------------------------------------------------------------
  | Allowed URL Characters
  |--------------------------------------------------------------------------
  |
  | This lets you specify with a regular expression which characters are permitted
  | within your URLs.  When someone tries to submit a URL with disallowed
  | characters they will get a warning message.
  |
  | As a security measure you are STRONGLY encouraged to restrict URLs to
  | as few characters as possible.  By default only these are allowed: a-z 0-9~%.:_-
  |
  | Leave blank to allow all characters -- but only if you are insane.
  |
  | DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
  |
 */
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';


/*
  |--------------------------------------------------------------------------
  | Enable Query Strings
  |--------------------------------------------------------------------------
  |
  | By default CodeIgniter uses search-engine friendly segment based URLs:
  | example.com/who/what/where/
  |
  | By default CodeIgniter enables access to the $_GET array.  If for some
  | reason you would like to disable it, set 'allow_get_array' to FALSE.
  |
  | You can optionally enable standard query string based URLs:
  | example.com?who=me&what=something&where=here
  |
  | Options are: TRUE or FALSE (boolean)
  |
  | The other items let you set the query string 'words' that will
  | invoke your controllers and its functions:
  | example.com/index.php?c=controller&m=function
  |
  | Please note that some of the helpers won't work as expected when
  | this feature is enabled, since CodeIgniter is designed primarily to
  | use segment based URLs.
  |
 */
$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
$config['directory_trigger'] = 'd'; // experimental not currently in use

/*
  |--------------------------------------------------------------------------
  | Error Logging Threshold
  |--------------------------------------------------------------------------
  |
  | If you have enabled error logging, you can set an error threshold to
  | determine what gets logged. Threshold options are:
  | You can enable error logging by setting a threshold over zero. The
  | threshold determines what gets logged. Threshold options are:
  |
  |	0 = Disables logging, Error logging TURNED OFF
  |	1 = Error Messages (including PHP errors)
  |	2 = Debug Messages
  |	3 = Informational Messages
  |	4 = All Messages
  |
  | For a live site you'll usually only enable Errors (1) to be logged otherwise
  | your log files will fill up very fast.
  |
 */
$config['log_threshold'] = 0;

/*
  |--------------------------------------------------------------------------
  | Error Logging Directory Path
  |--------------------------------------------------------------------------
  |
  | Leave this BLANK unless you would like to set something other than the default
  | application/logs/ folder. Use a full server path with trailing slash.
  |
 */
$config['log_path'] = '';

/*
  |--------------------------------------------------------------------------
  | Date Format for Logs
  |--------------------------------------------------------------------------
  |
  | Each item that is logged has an associated date. You can use PHP date
  | codes to set your own date formatting
  |
 */
$config['log_date_format'] = 'Y-m-d H:i:s';

/*
  |--------------------------------------------------------------------------
  | Cache Directory Path
  |--------------------------------------------------------------------------
  |
  | Leave this BLANK unless you would like to set something other than the default
  | system/cache/ folder.  Use a full server path with trailing slash.
  |
 */
$config['cache_path'] = '';

/*
  |--------------------------------------------------------------------------
  | Encryption Key
  |--------------------------------------------------------------------------
  |
  | If you use the Encryption class or the Session class you
  | MUST set an encryption key.  See the user guide for info.
  |
 */
$config['encryption_key'] = '';

/*
  |--------------------------------------------------------------------------
  | Session Variables
  |--------------------------------------------------------------------------
  |
  | 'sess_cookie_name'		= the name you want for the cookie
  | 'sess_expiration'		= the number of SECONDS you want the session to last.
  |   by default sessions last 7200 seconds (two hours).  Set to zero for no expiration.
  | 'sess_expire_on_close'	= Whether to cause the session to expire automatically
  |   when the browser window is closed
  | 'sess_encrypt_cookie'		= Whether to encrypt the cookie
  | 'sess_use_database'		= Whether to save the session data to a database
  | 'sess_table_name'		= The name of the session database table
  | 'sess_match_ip'		= Whether to match the user's IP address when reading the session data
  | 'sess_match_useragent'	= Whether to match the User Agent when reading the session data
  | 'sess_time_to_update'		= how many seconds between CI refreshing Session Information
  |
 */
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;

/*
  |--------------------------------------------------------------------------
  | Cookie Related Variables
  |--------------------------------------------------------------------------
  |
  | 'cookie_prefix' = Set a prefix if you need to avoid collisions
  | 'cookie_domain' = Set to .your-domain.com for site-wide cookies
  | 'cookie_path'   =  Typically will be a forward slash
  | 'cookie_secure' =  Cookies will only be set if a secure HTTPS connection exists.
  |
 */
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
$config['cookie_secure'] = FALSE;

/*
  |--------------------------------------------------------------------------
  | Global XSS Filtering
  |--------------------------------------------------------------------------
  |
  | Determines whether the XSS filter is always active when GET, POST or
  | COOKIE data is encountered
  |
 */
$config['global_xss_filtering'] = FALSE;

/*
  |--------------------------------------------------------------------------
  | Cross Site Request Forgery
  |--------------------------------------------------------------------------
  | Enables a CSRF cookie token to be set. When set to TRUE, token will be
  | checked on a submitted form. If you are accepting user data, it is strongly
  | recommended CSRF protection be enabled.
  |
  | 'csrf_token_name' = The token name
  | 'csrf_cookie_name' = The cookie name
  | 'csrf_expire' = The number in seconds the token should expire.
 */
$config['csrf_protection'] = FALSE;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;

/*
  |--------------------------------------------------------------------------
  | Output Compression
  |--------------------------------------------------------------------------
  |
  | Enables Gzip output compression for faster page loads.  When enabled,
  | the output class will test whether your server supports Gzip.
  | Even if it does, however, not all browsers support compression
  | so enable only if you are reasonably sure your visitors can handle it.
  |
  | VERY IMPORTANT:  If you are getting a blank page when compression is enabled it
  | means you are prematurely outputting something to your browser. It could
  | even be a line of whitespace at the end of one of your scripts.  For
  | compression to work, nothing can be sent before the output buffer is called
  | by the output class.  Do not 'echo' any values with compression enabled.
  |
 */
$config['compress_output'] = FALSE;

/*
  |--------------------------------------------------------------------------
  | Master Time Reference
  |--------------------------------------------------------------------------
  |
  | Options are 'local' or 'gmt'.  This pref tells the system whether to use
  | your server's local time as the master 'now' reference, or convert it to
  | GMT.  See the 'date helper' page of the user guide for information
  | regarding date handling.
  |
 */
$config['time_reference'] = 'local';


/*
  |--------------------------------------------------------------------------
  | Rewrite PHP Short Tags
  |--------------------------------------------------------------------------
  |
  | If your PHP installation does not have short tag support enabled CI
  | can rewrite the tags on-the-fly, enabling you to utilize that syntax
  | in your view files.  Options are TRUE or FALSE (boolean)
  |
 */
$config['rewrite_short_tags'] = FALSE;


/*
  |--------------------------------------------------------------------------
  | Reverse Proxy IPs
  |--------------------------------------------------------------------------
  |
  | If your server is behind a reverse proxy, you must whitelist the proxy IP
  | addresses from which CodeIgniter should trust the HTTP_X_FORWARDED_FOR
  | header in order to properly identify the visitor's IP address.
  | Comma-delimited, e.g. '10.0.1.200,10.0.1.201'
  |
 */
$config['proxy_ips'] = '';

/*
 * 经纪人成长体系配置
 */
$config['growth']['memcache'] = true;
//dou表示房豆模式
$config['growth']['mode'] = 'dou';
//最低追加分设置
$config['growth']['additionalScore']['block'] = '3';//小区专家竞投
$config['growth']['additionalScore']['house'] = '3';//房源竞投
$config['growth']['additionalScore']['rent'] = '3';// 租房竞投
$config['growth']['additionalScore']['school'] = '3';//学区竞投 xue 2014-11-18
//核心参数数组
$config['house'] = array(
    "infotype"  => array ('1'=>'住宅', '2'=>'别墅','3'=>'写字楼','4'=>'商铺','6'=>'车库车位','5'=>'仓库厂房'),
    "infofrom"  => array ('1'=>'房东[个人]', '2'=>'中介门店','5'=>'房产经纪人'),

    "district" => array('武原街道'=>'武原街道','西塘桥'=>'西塘桥','元通'=>'元通','泰山'=>'泰山','澉浦'=>'澉浦','通元'=>'通元','于城'=>'于城','百步'=> '百步','沈荡'=>'沈荡'),
    "mright" => array ('产权房'=>'产权房','使用权房'=>'使用权房'),
    "purpose" =>  array ('普通住宅'=>'普通住宅', '单身公寓'=>'单身公寓','别墅'=>'别墅','商住综合'=>'商住综合'),
    "office_purpose" =>  array ('写字楼'=>'写字楼','商住综合'=>'商住综合'),
    "store_purpose" =>  array ('门面房'=>'门面房','连家店'=>'连家店', '社区商铺'=>'社区商铺','其它商铺'=>'其它商铺', '厂房仓库'=>'厂房仓库'),
    "buildtype"  => array ('多层'=>'多层', '小高层'=>'小高层', '高层'=>'高层','跃层'=>'跃层','独立别墅'=>'独立别墅','联排别墅'=>'联排别墅','双拼别墅'=>'双拼别墅','叠加别墅'=>'叠加别墅','平房'=>'平房','其它'=>'其它'),
    "structure" =>  array ('砖混'=>'砖混','砖木'=>'砖木','钢混'=>'钢混','框架'=>'框架','框剪'=>'框剪','其他'=>'其他'),
    "forward"  => array ('南北'=>'南北通透', '南'=>'南', '东'=>'东', '西'=>'西', '北'=>'北'),
    "baseservice"  => array ('煤气/天然气'=>'煤气/天然气', '暖气'=>'暖气','电梯'=>'电梯', '车位'=>'车位', '花园'=>'花园', '地下室'=>'地下室', '阁楼'=>'阁楼', '露台'=>'露台', '阳光房'=>'阳光房'),
    "equipment"  => array ('床'=>'床', '冰箱'=>'冰箱','电视'=>'电视',  '空调'=>'空调', '洗衣机'=>'洗衣机', '热水器'=>'热水器', '家具'=>'家具', '宽带'=>'宽带', '可做饭'=>'可做饭', '电梯'=>'电梯'),
    "environment"  => array ('花园'=>'花园' , '医院'=>'医院' , '银行'=>'银行', '游泳池'=>'游泳池' , '健身中心'=>'健身中心', '商场'=>'商场', '菜场'=>'菜场', '超市'=>'超市', '幼儿园'=>'幼儿园', '休闲中心'=>'休闲中心'),
    "fitment"  => array ('毛坯'=>'毛坯','简装'=>'简装', '精装'=>'精装','豪华装'=>'豪华装'),
    "esta"  => array ('1'=>'激活','0'=>'队列','-8'=>'需书面说明','-7'=>'需验产权','-6'=>'高端信息','-5'=>'重复信息','-4'=>'虚假信息','-3'=>'需传真驳回','-2'=>'中介驳回', '-1'=>'未接听驳回', '2'=>'失效','3'=>'成交','4'=>'删除','5'=>'冻结', '-10' => '夜间'),
    "chargetag"  => array ('0'=>'免费发布', '1'=>'收费发布'),
    "renttype"   => array ('整租'=>'整租', '合租'=>'合租'),
    "rentremark"   => array ('不限男女'=>'不限男女','只限男'=>'只限男','只限女'=>'只限女'),
    "rentday"   => array ('一年'=>'一年','半年'=>'半年', '一季'=>'一季','一月'=>'一月'),
    "personunit"  => array('1'=>'元/月','2'=>'元/天*平方米','3'=>'元/月*平方米','4'=>'元/天'),
    "priceunit"   => array ('1'=>'元/月','2'=>'元/天*平方米', '4' => '元/天'),
    "shoppriceunit"   => array ('1'=>'元/月','2'=>'元/天*平方米','3'=>'元/月*平方米', '4' => '元/天'),
    "housepriceunit"   => array ('1'=>'元/月', '4' => '元/天'),
    "wy_unit"   => "元/月&#8226;平米",// 物业费单位
    "payment"   => array ('月付'=>'月付', '季付'=>'季付','半年付'=>'半年付', '年付'=>'年付','面议'=>'面议'),
    "priceterm"   => array ('1'=>'双方各自付税','2'=>'房主净得价'),
    "pricetype"   => array ('2'=>'有增值税','1'=>'无增值税'),
    "taxonlytype"   => array ('2'=>'有个税','1'=>'无个税'),
    "storetype"   => array ('住宅底商'=>'住宅底商', '连家店'=>'连家店', '商业街商铺'=>'商业街商铺', '购物中心/百货'=>'购物中心/百货'),
    "villatype"   => array ('独栋别墅'=>'独栋别墅', '联排别墅'=>'联排别墅','双拼别墅'=>'双拼别墅', '叠加别墅'=>'叠加别墅','空中别墅'=>'空中别墅', '其他'=>'其他'),
    "skill"      => array('普通住宅'=>'普通住宅','学区房'=>'学区房','别墅豪宅'=>'别墅豪宅','日租房'=>'日租房','酒店式公寓'=>'酒店式公寓','涉外高端租赁'=>'涉外高端租赁','写字楼'=>'写字楼','商铺'=>'商铺','工业厂房'=>'工业厂房'),
    "tradeclass" => array ('甲级'=>'甲级','乙级'=>'乙级','丙级'=>'丙级'),
    "housekindname" => array ('车库'=>'车库','车位'=>'车位'),
    "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-140平米','7'=>'140-200平米','8'=>'200-400平米','9'=>'400平米以上'),
    "price_rent" => array('1'=>'800元以下','2'=>'800-1200元','3'=>'1200-2000元','4'=>'2000-3000元','5'=>'3000-5000元','6'=>'5000-10000元','7'=>'10000元以上'),
    "roomtype"=>array('1'=>'一室','2'=>'二室','3'=>'三室','4'=>'四室','5'=>'五室','6'=>'五室以上'),
    "sell_order" => array ('1'=>'更新时间从近到远','2'=>'更新时间从远到近','3'=>'发布时间从近到远','4'=>'发布时间从远到近','5'=>'总价从低到高','6'=>'总价从高到低','7'=>'面积从小到大','8'=>'面积从大到小'),
    "rent_order" => array ('1'=>'更新时间从近到远','2'=>'更新时间从远到近','3'=>'发布时间从近到远','4'=>'发布时间从远到近','5'=>'租金从低到高','6'=>'租金从高到低','7'=>'面积从小到大','8'=>'面积从大到小'),
    "rentroom" => array('主卧' => '主卧', '次卧' => '次卧', '床位' => '床位'),
);
/**
 * 小区专家配置
 */
$config['block_expert']["room"] = 5; //优质房源数
$config['block_expert']["block_num"] = 4; //小区专家数
$config['block_expert']["indate"] = 7; //专家在职时间
$config['block_expert']["wfen"] = 0; //最低房豆
$config['block_expert']["freeze_num"] = 10; //可以被冻结的次数
//The action which do not need to check login, can set in this array.
$config['no_login_check'] = array(
    'login'     =>array('index','cp_enter','ag_enter_set','ag_enter','cp_enter_set','cp_enter',
        'quit','findpw','findpw_code','confirm_validcode','qrCode','qrCodeLogin','get_code','code_login'),
    'valid'     =>array('index'),
    'desktop'   =>array('index'),
    'payment'   =>array('notify', 'agreement'),
    'payment_test'   =>array('notify', 'agreement'),
    'ajax'      =>array('revalidcode','vaild_find_pwd','find_pasword'),
    'pic'=>array('house','common'),
    'pic_wang'=>array('house','common'),
);

//Config the menu on the left of your page.
$config['left_menu']['house_manage'] = array(
    'sell_modify',
    array('sell_manage','sell_manage_invalid','sell_manage_frozen'),
    'rent_modify',
    array('rent_manage','rent_manage_invalid','rent_manage_frozen')
);
$config['left_menu']['ucenter'] = array(
    'ucenter/my_growth',
    array('ucenter/my_information','ucenter/edit_password'),
    'ucenter/my_history',
    array('ucenter/my_message_list', 'ucenter/my_message_detail'),
    // array('loan_index','loan_record'),
    array('complain/complain','complain/my_list'),
    'feedback',
);
$config['left_menu']['market'] = array(
    'market_index',
    //array('tag_index','tag_record'),
    array('tag_record'),
    //array('market/block_expert','market/block_expert_apply_not'),
    array('market_bid_block_expert/index','market_bid_block_expert/history'),
    array('market_bid_house_manage/all','market_bid_house_manage/on','market_bid_house_manage/history','market_bid_house/bid_house'),
    array('market_bid_rent_manage/all','market_bid_rent_manage/on','market_bid_rent_manage/history','market_bid_rent/bid_rent'),
    array('vas/school_house','vas/select_house','vas/great_broker','vas/set_promot_list'),
    array('vas/vas_packing','vas/vas_orderlist','vas/vas_packing_buy','vas/vas_video','vas/vas_show','vas/vas_video_buy','vas/vas_show_buy'),
    'packing_house',
    'personal_house',



);
$config['left_menu']['statics'] = array(
    array('statistics_analysis/today', 'statistics_analysis/history'),
    array('statistics_analysis/log','statistics_analysis/label','statistics_analysis/login_history','statistics_analysis/violation','statistics_analysis/reserve_refresh_log'),
    'statistics_analysis/click',
    'statistics_analysis/refresh');
$config['left_menu']['shop'] = array('shop_house_recommend', 'shop_set_basic');

$config['left_menu']['payment'] = array('payment_index', array('payment_recharge', 'payment_success'), 'payment_transaction');
$config['left_menu']['question'] = array('qa_manage','qa_manage1', 'qa_manage2');
$IpHostAllow =explode('.',GetIp());
if($IpHostAllow['0']=='192' || $IpHostAllow['0']=='127')
{
    $stat_url ="zjj182.house365.com";
}
else
{
    $stat_url ="zjj182.house365.com";
}
//统计类的配置 statistics_plus
$config['statistics'][1]['new']['appName'] = "$stat_url:7778/fzdatamining/HTTP?service=";//"202.102.94.169:7777/datamining/HTTP/?service=";//新统计
$config['statistics'][1]['new']['city'] = "hy";//新统计
$config['statistics'][1]['new']['charSet'] = "GBK";//新统计

$config['statistics'][1]['old']['appName'] = "$stat_url:7778/fzdatamining/HTTP?service=";//"zjj182.house365.com:7777/datamining/HTTP/?service=";//旧统计
$config['statistics'][1]['old']['city'] = "hy";//新统计
$config['statistics'][1]['old']['charset'] = "GBK";//新统计

//统计类的配置 statistics
$config['statistics'][2]['new']['appName'] = "$stat_url:100/fzdatamining";//"202.102.94.169:100/datamining";//新统计
$config['statistics'][2]['new']['city'] = "hy";//新统计
$config['statistics'][2]['new']['charSet'] = "GBK";//新统计

$config['statistics'][2]['old']['appName'] = "$stat_url:100/fzdatamining";//"zjj182.house365.com:100/datamining";//旧统计
$config['statistics'][2]['old']['city'] = "hy";//新统计
$config['statistics'][2]['old']['charset'] = "GBK";//新统计

$config['statistics']['domain'] = "zjj.stat.house365.com/fzdatamining";//域名提交统计

//应用管理配置
$config['app_custom_arr'] = array(
    'sell_pulish'=>array('name'=>'发布出售','auth'=>'base','url'=>'/sell/add/','icon'=>'fbcs.png','description'=>'发布二手房住宅、别墅、商铺、写字楼等物业的房源信息。'),
    'sell_manage'=>array('name'=>'管理出售','auth'=>'base','url'=>'/sell/manage/active/','icon'=>'glcs.png','description'=>'管理您已经发布的二手房住宅、别墅、商铺、写字楼等物业的房源信息。'),
    'rent_pulish'=>array('name'=>'发布出租','auth'=>'base','url'=>'/rent/add/','icon'=>'fbcz.png','description'=>'发布出租住宅、别墅、商铺、写字楼等物业的房源信息。'),
    'rent_manage'=>array('name'=>'管理出租','auth'=>'base','url'=>'/rent/manage/active/','icon'=>'glcz.png','description'=>'管理您已经发布的出租住宅、别墅、商铺、写字楼等物业的房源信息。'),
    'use_log'=>array('name'=>'使用日志','auth'=>'base','url'=>'/statistics_analysis/log/','icon'=>'syrz.png','description'=>'记录租售宝的使用情况，包括发布、刷新房源等操作，以及房源违规信息的记录。'),
    'click_statistic'=>array('name'=>'点击统计','auth'=>'base','url'=>'/statistics_analysis/click/','icon'=>'djtj.png','description'=>'发布房源所获得的网友点击量的统计，按时按天查看点击量趋势。'),
    'refresh_statistic'=>array('name'=>'刷新统计','auth'=>'pay','url'=>'/statistics_analysis/refresh/','icon'=>'sxtj.png','description'=>'房源刷新操作的时间段分布统计。'),
    'personal_house'=>array('name'=>'本区个人房源','auth'=>'pay','url'=>'/personal_house/sell/','icon'=>'bqgrfy.png','description'=>'工作区域内的个人房源信息，提高您获取业主发布的优质房源信息的效率。'),
    //'block_expert'=>array('name'=>'小区专家竞投','auth'=>'base','url'=>'/market_bid_block_expert/','icon'=>'xqzj.png','description'=>'小区专家，提升您的信任度和曝光。搜索列表页、小区稀缺推广位全部房豆换。'),
    //'bid_house'=>array('name'=>'二手房竞投','auth'=>'base','url'=>'/market_bid_house_manage/all/','icon'=>'xqjt.gif','description'=>'房豆换推广，搜索置顶推荐您的房源，曝光、流量大幅涨，客户来电接不停！'),
    //'bid_rent'=>array('name'=>'租房竞投','auth'=>'base','url'=>'/market_bid_rent_manage/all/','icon'=>'zfjt.png','description'=>'房豆换推广，搜索置顶推荐您的房源，曝光、流量大幅涨，客户来电接不停！'),
    //'to_recharge'=>array('name'=>'立即充值','auth'=>'base','url'=>'/payment/recharge/','icon'=>'torecharge.gif','description'=>'赚房豆太辛苦？送的房豆不够花？直接充值最爽快！'),
    //'dai_kuan'=>array('name'=>'365贷款','auth'=>'base','url'=>'/my_loan/index/','icon'=>'365daikuan.png','description'=>'帮客户申请贷款，方便快捷，利率优惠，办理成功后还有大量房豆奖励哦！'),
    //'complain_reward'=>array('name'=>'举报有奖','auth'=>'base','url'=>'/my_complain/complain/','icon'=>'alarm.png','description'=>'举报竞投虚假房源，审核通过可得房豆奖励，拒绝虚假房源，人人有责！'),
    //'tag_sale'=>array('name'=>'标签零售','auth'=>'base','url'=>'/tag_index/index/','icon'=>'bqls.png','description'=>'标签不够就来买急推标签包，即买即用使用更灵活，未使用标签月底不清零。'),
);

//移动同步支付宝信息接口地址
$config['alipay_mobile_notify_url'] = 'http://mobileadmin.house365.com/api.php?method=zfbinsert';
//竞投动作配置
$config['bidBehavior'] = array(
    1 => '成功', 2 => '失败', 3 => '暂未投放',
    4 => '暂未投中', 5 => '竞投中', 6 => '暂投中'
);

//文档配置
$config['documentation'] = array(
    'what_credit'=>'http://zsb.house365.com/help/?p=954',//y什么是房豆
    'house_title_rule'=>'http://zsb.house365.com/help/?p=485',//发布房源标题描述规则说明
    'publish_pic_rule'=>'http://zsb.house365.com/help/?p=922',//y如何发布多图房源？
    'publish_360_pic_rule'=>'http://zsb.house365.com/help/nj/?p=1286',//如何发布全景房源？
    'pic_rule'=>'http://zsb.house365.com/help/nj/?p=473',//图片规则详情
    'house_template'=>'http://zsb.house365.com/help/nj/?p=36',//房源模板使用说明
    'house_manage_rule'=>'http://zsb.house365.com/help/nj/?cat=10',//房源管理使用说明
    'get_exp'=>'http://zsb.house365.com/help/nj/?p=546',//如何获得成长值？
    'get_credit'=>'http://zsb.house365.com/help/?p=960',//y获取房豆说明
    'upgrade_raiders'=>'http://zsb.house365.com/help/nj/?p=598',//升级攻略
    'bid_house_rule'=>'http://zsb.house365.com/help/?p=949',//y房源竞投说明
    'block_bid'=>'http://zsb.house365.com/help/?p=932',//y小区词竞投查看详细说明
    'hot_search_bid'=>'http://zsb.house365.com/help/?p=939',//y热搜词竞投查看详细说明
    'shop_recommend_rule'=>'http://zsb.house365.com/help/?p=90',//y店铺房源推荐查看详细说明
    'app_zsb' => 'http://app.house365.com/zsb/download.html', //租售宝app web端下载地址
    'pay_detail' => 'http://zsb.house365.com/help/?p=1032', //y支付说明
    'often_question' => 'http://zsb.house365.com/help/?p=1034', //y用户常见问题
    'bank_limit' => 'http://zsb.house365.com/help/?p=1036', //y各银行支付限额
    'recharge_help' => 'http://zsb.house365.com/help/?p=1030', //y充值帮助
    'refresh_project'=>'http://zsb.house365.com/help/?p=49',//预约方案使用
    'school_promot_rule'=>'http://zsb.house365.com/help/nj/?p=1075',//学区推广规则
    'school_example_online'=>'http://nj.sell.house365.com/schoolhouse',//学区推广线上示例
    'great_broker_rule'=>'http://zsb.house365.com/help/nj/?p=1077',//优秀经纪人规则
    'greate_broker_example_online'=>'http://nj.sell.house365.com/#greatbroker',//优秀经纪人线上示例
    'packing_house_rule'=>'http://zsb.house365.com/help/?p=945',//房源包装规则
    'packing_hosue_example_online'=>'http://nj.sell.house365.com/',//房源包装线上示例
    'wenda'=>'http://zsb.house365.com/help/nj/?p=1176',//问答
    'complain_rule'=>'http://zsb.house365.com/help/?p=979',//y举报规则

    //新增
    'growth_star' => 'http://zsb.house365.com/help/?p=962', //如何提升星级？
    'block_expert_rule' => 'http://zsb.house365.com/help/?p=929',//小区专家竞投规则说明
);

//支付中心配置
$config['payment'] = array(
    'init_rate' => 10,
    'price' => array('1' => 10, '2' => 50, '3' => 100, '4' => 500),
    'active' => array('endtime' => '2014-12-31 23:59:59', 'rate' => '12', 'percentage' => '20%')
);

//房源定投房源包装配置
$config['packing_house_staus'] = array('1' => '排期中','2' => '已排期','3' => '推广中','4' => '完成推广');
$config['packing_house'] = array('Search' => '房源包装','Mansionshow'=>'大宅秀','Video'=>'视频看房');
$config['set_promot_type'] = array('ASchool1','BSchool1','ASchool2','BSchool2','ASchool3','BSchool3','ASchool4','BSchool4','GreatBroker');
//学区房设置（学区定投推广）
$config['set_promot_school'] = array('91'=>'力学小学','92'=>'琅琊路小学','90'=>'拉萨路小学','94'=>'北京东路小学');
$config['set_promot_school_type'] = array(
    array('sid'=>'91','name'=>'力学小学','A'=>'ASchool1','B'=>'BSchool1'),
    array('sid'=>'92','name'=>'琅琊路小学','A'=>'ASchool2','B'=>'BSchool2'),
    array('sid'=>'90','name'=>'拉萨路小学','A'=>'ASchool3','B'=>'BSchool3'),
    array('sid'=>'94','name'=>'北京东路小学','A'=>'ASchool4','B'=>'BSchool4'),
);
//虚假竞投房源举报
$config['complain_status'] = array('1'=>'待审核','2'=>'举报成功','3'=>'举报失败');
$config['complain_reason'] = array('1'=>'面积虚假','2'=>'价格虚假','3'=>'房源已成交','4'=>'图片虚假');
/* End of file config.php */
/* Location: ./application/config/config.php */

//360全景图片类型
$config['imageType'] = array(
    '1' => '客厅',
    '2' => '厨房',
    '3' => '卧室',
    '4' => '卫生间',
    '5' => '室外',
    '6' => '其他'
);

//模板配置
$config['templateName']= 'nj';

define('TEMPLATE_NAME', $config['templateName']);
//租售宝账号注册
define('GB_BROKER_REG' , "http://hy.sell.house365.com/agent_sign_up.php");

/**
 * 针对经纪人付费状态，【合肥 1表示收费，0表示免费】
 *
 * 默认为收费状态
 *
 */
define('payStatus','1');

//配置关闭的菜单栏
//首页index、房源管理house_manage、统计分析statics、营销中心market、店铺管理shop、个人中心ucenter、问答question、支付中心payment
//$config['close_menu'] = array('question');

//租售宝帮助中心
define('HOT_TEL', "4008908365-881");

//城市名称
define('CITY_NAME', "海盐");


//功能开关，1表示开启，0表示关闭
$config['functionSwitch'] = array(
    'payment' => '0',   //支付功能
    'question' => '0',  //问答功能
    'tagsale' => '0',    //标签零售特权
    'panorama' => '0',   //全景图违规权限
    'commonImageJoinCheck' => '1',   //普通图片加入审核表
    'priorityHousebeanConsume' => '0', //优先房豆消耗功能
);

// 是否能发布全景房，默认能发布
// 1为能发布，0为不能发布
$config['is_publish_360'] = 0;
$config['is_open_housebean'] = 0;
// 是否有支付中心，默认有
// 1为有，0为没有
$config['is_pay'] = 0;

//最大预约刷新天数
$config['max_reserve_days'] = 31;

// 去掉菜单的列表
$config['no_menu'] = array(
    'market_index','market_bid_block_expert/index','market_bid_house_manage/all','market_bid_rent_manage/all','vas/vas_packing','complain/complain'
);

// 营销中心链接
$config['url_market'] = '/personal_house/sell/';

// 是否有“我的特权”，默认有
// 1为有，0为没有
$config['is_my_prerogative'] = 0;

// 是否有急推标签，默认有
// 1为有，0为没有
$config['is_tag'] = 1;

// 去掉首页快捷功能列表
$config['no_app'] = array(
    'to_recharge'
);

define('GB_WS_URL' , "http://gl.zsb.house365.com");
$config['upgradeStarLevel'] = 1;

//房豆有效期 单位：天  默认值10年=3650天
$config['housebeanExpirationTimeType'] = array(
    'paymentExpireTime' => strtotime(date('Y-m-1', strtotime('+120 month')))-1,  //充值房豆过期时间
    'otherExpireTime' => strtotime(date('Y-m-1', strtotime('+120 month')))-1     //其它房豆过期时间
);
