Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esf
fenzhan_zsb
Commits
6b565772
Commit
6b565772
authored
Aug 29, 2022
by
梅玉龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uc_08' into release_preview
parents
70bca9f0
0f7e2590
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
1746 additions
and
145 deletions
+1746
-145
zsb_api_model.php
new_admincp/applications/models/zsb_api_model.php
+30
-2
config_aks.php
new_admincp/applications/zsb/config/config_aks.php
+682
-0
config_lyg.php
new_admincp/applications/zsb/config/config_lyg.php
+2
-3
config_nn.php
new_admincp/applications/zsb/config/config_nn.php
+682
-0
ajax.php
new_admincp/applications/zsb/controllers/ajax.php
+10
-4
login.php
new_admincp/applications/zsb/controllers/login.php
+29
-2
rent.php
new_admincp/applications/zsb/controllers/rent.php
+4
-4
sell.php
new_admincp/applications/zsb/controllers/sell.php
+61
-4
ucenter_information.php
...incp/applications/zsb/controllers/ucenter_information.php
+93
-78
welcome.php
new_admincp/applications/zsb/controllers/welcome.php
+7
-8
MY_Controller.php
new_admincp/applications/zsb/core/MY_Controller.php
+10
-1
admin_check.php
new_admincp/applications/zsb/models/admin_check.php
+29
-2
broker_model.php
new_admincp/applications/zsb/models/broker_model.php
+38
-0
pic_model.php
new_admincp/applications/zsb/models/pic_model.php
+1
-1
login.php
new_admincp/applications/zsb/views/nj/login.php
+8
-34
sell_manage_frozen.php
new_admincp/applications/zsb/views/nj/sell_manage_frozen.php
+57
-2
GrowthExpControllPackage.php
.../esfadmin/core/lib/growth_nj/GrowthExpControllPackage.php
+2
-0
GrowthExpWayPackage.php
...se365/esfadmin/core/lib/growth_nj/GrowthExpWayPackage.php
+1
-0
No files found.
new_admincp/applications/models/zsb_api_model.php
View file @
6b565772
...
@@ -5,9 +5,10 @@ class zsb_api_model extends MY_Model{
...
@@ -5,9 +5,10 @@ class zsb_api_model extends MY_Model{
private
$host
=
'http://newrent.house365.com'
;
private
$host
=
'http://newrent.house365.com'
;
private
$apiSource
=
'PC'
;
// 访问API使用的公用source
private
$apiSource
=
'PC'
;
// 访问API使用的公用source
private
$apiVersion
=
'1.0.
0
'
;
// 访问API使用的公用版本号
private
$apiVersion
=
'1.0.
1
'
;
// 访问API使用的公用版本号
private
$token
=
'ZSB_API'
;
private
$token
=
'ZSB_API'
;
private
$host_preview
=
'http://newrenttest.house365.com'
;
private
$host_preview
=
'http://newrenttest.house365.com'
;
private
$signKey
=
'63DBC5C8E29B1D75AC8CE2676FE7C5F3AABED64B'
;
private
$apiUrl
=
array
(
private
$apiUrl
=
array
(
...
@@ -27,6 +28,10 @@ class zsb_api_model extends MY_Model{
...
@@ -27,6 +28,10 @@ class zsb_api_model extends MY_Model{
'uploadPic'
=>
'/ajax-action/upload-file'
,
// 上传图片接口
'uploadPic'
=>
'/ajax-action/upload-file'
,
// 上传图片接口
'login_qr_code'
=>
'/zsbapinj/qr-code-login/login-qr-code'
,
// 登录二维码
'login_qr_code'
=>
'/zsbapinj/qr-code-login/login-qr-code'
,
// 登录二维码
'user_by_qr_code'
=>
'/zsbapinj/qr-code-login/login-qr-code-data'
,
// 校验是否确认登录
'user_by_qr_code'
=>
'/zsbapinj/qr-code-login/login-qr-code-data'
,
// 校验是否确认登录
'scan_login'
=>
'/zsbapi/qr-code-login/uc-scan-login'
,
// 扫码登录校验
'uc_login'
=>
'/zsbapi/broker/uc-login'
,
// 登录
'uc_update'
=>
'/zsbapi/broker/uc-update'
,
// 更新经纪人信息
'change_uc_phone'
=>
'/zsbapi/broker/change-uc-phone'
,
// 更改经纪人手机号码
);
);
...
@@ -170,5 +175,27 @@ class zsb_api_model extends MY_Model{
...
@@ -170,5 +175,27 @@ class zsb_api_model extends MY_Model{
return
$token
;
return
$token
;
}
}
/**
* 生成sign
* @param array $param
* @return string
* @author mellon
*/
public
function
getSign
(
$param
=
array
())
{
if
(
!
is_array
(
$param
))
{
return
''
;
}
ksort
(
$param
);
foreach
(
$param
as
$key
=>
$item
)
{
if
(
!
empty
(
$item
)
&&
!
is_array
(
$item
))
{
$newArr
[]
=
$key
.
'='
.
$item
;
}
}
$stringA
=
implode
(
"&"
,
$newArr
);
$stringSignTemp
=
$stringA
.
"&key="
.
$this
->
signKey
;
$stringSignTemp
=
md5
(
$stringSignTemp
);
$sign
=
sha1
(
$stringSignTemp
);
return
$sign
;
}
}
}
\ No newline at end of file
new_admincp/applications/zsb/config/config_aks.php
0 → 100644
View file @
6b565772
<?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"
=>
"元/月•平米"
,
// 物业费单位
"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'
),
'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
=
"202.102.74.40"
;
}
else
{
$stat_url
=
"172.17.1.76"
;
}
//统计类的配置 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'
]
=
"aks"
;
//新统计
$config
[
'statistics'
][
1
][
'new'
][
'charSet'
]
=
"GBK"
;
//新统计
$config
[
'statistics'
][
1
][
'old'
][
'appName'
]
=
"
$stat_url
:7778/fzdatamining/HTTP?service="
;
//"202.102.74.40:7777/datamining/HTTP/?service=";//旧统计
$config
[
'statistics'
][
1
][
'old'
][
'city'
]
=
"aks"
;
//新统计
$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'
]
=
"aks"
;
//新统计
$config
[
'statistics'
][
2
][
'new'
][
'charSet'
]
=
"GBK"
;
//新统计
$config
[
'statistics'
][
2
][
'old'
][
'appName'
]
=
"
$stat_url
:100/fzdatamining"
;
//"202.102.74.40:100/datamining";//旧统计
$config
[
'statistics'
][
2
][
'old'
][
'city'
]
=
"aks"
;
//新统计
$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://mianyang.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'
,
"0552-2869620"
);
//城市名称
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'
]
=
1
;
$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
//其它房豆过期时间
);
new_admincp/applications/zsb/config/config_lyg.php
View file @
6b565772
...
@@ -376,7 +376,7 @@ $config['house'] = array(
...
@@ -376,7 +376,7 @@ $config['house'] = array(
"infotype"
=>
array
(
'1'
=>
'住宅'
,
'2'
=>
'别墅'
,
'3'
=>
'写字楼'
,
'4'
=>
'商铺'
,
'6'
=>
'车库车位'
,
'5'
=>
'仓库厂房'
),
"infotype"
=>
array
(
'1'
=>
'住宅'
,
'2'
=>
'别墅'
,
'3'
=>
'写字楼'
,
'4'
=>
'商铺'
,
'6'
=>
'车库车位'
,
'5'
=>
'仓库厂房'
),
"infofrom"
=>
array
(
'1'
=>
'房东[个人]'
,
'2'
=>
'中介门店'
,
'5'
=>
'房产经纪人'
),
"infofrom"
=>
array
(
'1'
=>
'房东[个人]'
,
'2'
=>
'中介门店'
,
'5'
=>
'房产经纪人'
),
"district"
=>
array
(
'
新浦'
=>
'新浦'
,
'海州'
=>
'海州'
,
'连云'
=>
'连云'
,
'开发'
=>
'开发'
,
'灌南'
=>
'灌南'
,
'灌云'
=>
'灌云'
,
'东海'
=>
'东海'
,
'赣榆'
=>
'赣榆
'
),
"district"
=>
array
(
'
海州区'
=>
'海州区'
,
'连云区'
=>
'连云区'
,
'赣榆区'
=>
'赣榆区'
,
'灌南县'
=>
'灌南县'
,
'灌云县'
=>
'灌云县'
,
'东海县'
=>
'东海县
'
),
"mright"
=>
array
(
'产权房'
=>
'产权房'
,
'使用权房'
=>
'使用权房'
),
"mright"
=>
array
(
'产权房'
=>
'产权房'
,
'使用权房'
=>
'使用权房'
),
"purpose"
=>
array
(
'普通住宅'
=>
'普通住宅'
,
'单身公寓'
=>
'单身公寓'
,
'别墅'
=>
'别墅'
,
'商住综合'
=>
'商住综合'
),
"purpose"
=>
array
(
'普通住宅'
=>
'普通住宅'
,
'单身公寓'
=>
'单身公寓'
,
'别墅'
=>
'别墅'
,
'商住综合'
=>
'商住综合'
),
"office_purpose"
=>
array
(
'写字楼'
=>
'写字楼'
,
'商住综合'
=>
'商住综合'
),
"office_purpose"
=>
array
(
'写字楼'
=>
'写字楼'
,
'商住综合'
=>
'商住综合'
),
...
@@ -679,4 +679,4 @@ $config['upgradeStarLevel'] = 1;
...
@@ -679,4 +679,4 @@ $config['upgradeStarLevel'] = 1;
$config
[
'housebeanExpirationTimeType'
]
=
array
(
$config
[
'housebeanExpirationTimeType'
]
=
array
(
'paymentExpireTime'
=>
strtotime
(
date
(
'Y-m-1'
,
strtotime
(
'+120 month'
)))
-
1
,
//充值房豆过期时间
'paymentExpireTime'
=>
strtotime
(
date
(
'Y-m-1'
,
strtotime
(
'+120 month'
)))
-
1
,
//充值房豆过期时间
'otherExpireTime'
=>
strtotime
(
date
(
'Y-m-1'
,
strtotime
(
'+120 month'
)))
-
1
//其它房豆过期时间
'otherExpireTime'
=>
strtotime
(
date
(
'Y-m-1'
,
strtotime
(
'+120 month'
)))
-
1
//其它房豆过期时间
);
);
\ No newline at end of file
new_admincp/applications/zsb/config/config_nn.php
0 → 100644
View file @
6b565772
<?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"
=>
"元/月•平米"
,
// 物业费单位
"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'
),
'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
=
"202.102.74.40"
;
}
else
{
$stat_url
=
"172.17.1.76"
;
}
//统计类的配置 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'
]
=
"nn"
;
//新统计
$config
[
'statistics'
][
1
][
'new'
][
'charSet'
]
=
"GBK"
;
//新统计
$config
[
'statistics'
][
1
][
'old'
][
'appName'
]
=
"
$stat_url
:7778/fzdatamining/HTTP?service="
;
//"202.102.74.40:7777/datamining/HTTP/?service=";//旧统计
$config
[
'statistics'
][
1
][
'old'
][
'city'
]
=
"nn"
;
//新统计
$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'
]
=
"nn"
;
//新统计
$config
[
'statistics'
][
2
][
'new'
][
'charSet'
]
=
"GBK"
;
//新统计
$config
[
'statistics'
][
2
][
'old'
][
'appName'
]
=
"
$stat_url
:100/fzdatamining"
;
//"202.102.74.40:100/datamining";//旧统计
$config
[
'statistics'
][
2
][
'old'
][
'city'
]
=
"nn"
;
//新统计
$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://mianyang.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'
,
"0552-2869620"
);
//城市名称
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'
]
=
1
;
$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
//其它房豆过期时间
);
new_admincp/applications/zsb/controllers/ajax.php
View file @
6b565772
...
@@ -1319,10 +1319,16 @@ class Ajax extends MY_Controller {
...
@@ -1319,10 +1319,16 @@ class Ajax extends MY_Controller {
if
(
!
$is_expire
){
if
(
!
$is_expire
){
$message_flag
=
2
;
$message_flag
=
2
;
}
else
{
}
else
{
$this
->
broker_model
->
update_broker_pwd
(
$lastst_sms
[
'rowid'
]);
// 调用用户中心更新密码
$this
->
broker_model
->
update_sms_flag
(
$lastst_sms
[
'id'
]);
$ucRes
=
$this
->
broker_model
->
updateUcPwd
(
$lastst_sms
[
'rowid'
],
'111111'
);
$message_flag
=
3
;
if
(
$ucRes
[
'result'
]
!=
1
)
{
}
$message_flag
=
1
;
}
else
{
$this
->
broker_model
->
update_broker_pwd
(
$lastst_sms
[
'rowid'
]);
$this
->
broker_model
->
update_sms_flag
(
$lastst_sms
[
'id'
]);
$message_flag
=
3
;
}
}
}
else
{
}
else
{
$message_flag
=
1
;
$message_flag
=
1
;
}
}
...
...
new_admincp/applications/zsb/controllers/login.php
View file @
6b565772
...
@@ -223,6 +223,9 @@ class Login extends MY_Controller {
...
@@ -223,6 +223,9 @@ class Login extends MY_Controller {
//清空之前的登陆数据
//清空之前的登陆数据
$this
->
broker_model
->
logout
();
$this
->
broker_model
->
logout
();
$username
=
urldecode
(
$username
);
$username
=
urldecode
(
$username
);
if
(
$_COOKIE
[
'zkg'
]){
var_dump
(
$_SERVER
[
'HTTP_REFERER'
]);
die
;
}
if
(
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'cp.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'we.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'esfadmin.house365.com'
))
if
(
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'cp.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'we.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'esfadmin.house365.com'
))
{
{
//判断账号密码正确性
//判断账号密码正确性
...
@@ -278,7 +281,9 @@ class Login extends MY_Controller {
...
@@ -278,7 +281,9 @@ class Login extends MY_Controller {
//加载memcached
//加载memcached
$this
->
load
->
library
(
'My_memcached'
,
''
,
'mc'
);
$this
->
load
->
library
(
'My_memcached'
,
''
,
'mc'
);
$this
->
mc
->
add
(
$interface_id
,
array
(
'is_ok'
=>
1
,
'data'
=>
$arr_data
),
30
);
$this
->
mc
->
add
(
$interface_id
,
array
(
'is_ok'
=>
1
,
'data'
=>
$arr_data
),
30
);
if
(
$interface_id
==
'1111121212121'
){
var_dump
(
$this
->
mc
->
get
(
$interface_id
));
die
;
}
echo
'ok'
;
echo
'ok'
;
}
}
else
else
...
@@ -302,9 +307,13 @@ class Login extends MY_Controller {
...
@@ -302,9 +307,13 @@ class Login extends MY_Controller {
//加载memcached
//加载memcached
$this
->
load
->
library
(
'My_memcached'
,
''
,
'mc'
);
$this
->
load
->
library
(
'My_memcached'
,
''
,
'mc'
);
$cache
=
$this
->
mc
->
get
(
$interface_id
);
$cache
=
$this
->
mc
->
get
(
$interface_id
);
if
(
1
==
$cache
[
'is_ok'
])
if
(
1
==
$cache
[
'is_ok'
])
{
{
$this
->
broker_model
->
yunxinLogin
(
$cache
[
'data'
][
'username'
]);
$this
->
broker_model
->
yunxinLogin
(
$cache
[
'data'
][
'username'
]);
if
(
$interface_id
==
'1111121212121'
){
var_dump
(
111
);
die
;
}
$this
->
_enter
(
$cache
[
'data'
][
'username'
],
$cache
[
'data'
][
'password'
],
'cp'
);
$this
->
_enter
(
$cache
[
'data'
][
'username'
],
$cache
[
'data'
][
'password'
],
'cp'
);
}
}
else
else
...
@@ -394,6 +403,17 @@ class Login extends MY_Controller {
...
@@ -394,6 +403,17 @@ class Login extends MY_Controller {
}
}
$username
=
addslashes
(
$username
);
$username
=
addslashes
(
$username
);
// 调用用户中心校验用户名和密码
$this
->
load
->
model
(
'zsb_api_model'
);
// 租售宝API调用类
$ucParams
=
array
(
'username'
=>
$username
,
'password'
=>
$password
,
'city'
=>
GB_CITY
,
);
$ucRes
=
$this
->
zsb_api_model
->
getRequrstData
(
'uc_login'
,
$ucParams
);
if
(
$ucRes
[
'result'
]
==
0
)
{
die
(
$ucRes
[
'msg'
]);
}
//判断账号密码正确性
//判断账号密码正确性
$uid
=
$this
->
broker_model
->
login
(
$username
,
$password
);
$uid
=
$this
->
broker_model
->
login
(
$username
,
$password
);
...
@@ -491,6 +511,12 @@ class Login extends MY_Controller {
...
@@ -491,6 +511,12 @@ class Login extends MY_Controller {
}
else
{
}
else
{
// 如果APP已确认登录
// 如果APP已确认登录
if
(
$data
[
'login_check'
]
&&
$data
[
'username'
])
{
if
(
$data
[
'login_check'
]
&&
$data
[
'username'
])
{
// 用户中心扫码校验
$scanRes
=
$this
->
zsb_api_model
->
getRequrstData
(
'scan_login'
,
$params
);
if
(
$scanRes
[
'result'
]
==
0
){
$response
=
array
(
'msg'
=>
'expired'
);
echo
json_encode
(
$response
);
exit
;
}
$sellUserName
=
isset
(
$sessionUserData
[
'sell'
][
'username'
])
?
$sessionUserData
[
'sell'
][
'username'
]
:
''
;
$sellUserName
=
isset
(
$sessionUserData
[
'sell'
][
'username'
])
?
$sessionUserData
[
'sell'
][
'username'
]
:
''
;
$rentUserName
=
isset
(
$sessionUserData
[
'rent'
][
'username'
])
?
$sessionUserData
[
'rent'
][
'username'
]
:
''
;
$rentUserName
=
isset
(
$sessionUserData
[
'rent'
][
'username'
])
?
$sessionUserData
[
'rent'
][
'username'
]
:
''
;
// 已经写入session
// 已经写入session
...
@@ -499,8 +525,9 @@ class Login extends MY_Controller {
...
@@ -499,8 +525,9 @@ class Login extends MY_Controller {
echo
json_encode
(
$response
);
exit
;
echo
json_encode
(
$response
);
exit
;
}
}
$username
=
iconv
(
'utf-8'
,
'gbk'
,
$data
[
'username'
]);
$this
->
load
->
model
(
'broker_model'
);
$this
->
load
->
model
(
'broker_model'
);
$codeData
=
$this
->
broker_model
->
qrCodeLogin
(
$
data
[
'username'
]
);
$codeData
=
$this
->
broker_model
->
qrCodeLogin
(
$
username
);
$response
=
array
(
'msg'
=>
$codeData
);
$response
=
array
(
'msg'
=>
$codeData
);
echo
json_encode
(
$response
);
exit
;
echo
json_encode
(
$response
);
exit
;
}
else
{
}
else
{
...
...
new_admincp/applications/zsb/controllers/rent.php
View file @
6b565772
...
@@ -2352,10 +2352,10 @@ class Rent extends MY_Controller {
...
@@ -2352,10 +2352,10 @@ class Rent extends MY_Controller {
}
}
}
}
//限制剩余时间大于0
//限制剩余时间大于0
//
if(strtotime(date('Y-m-d')) - $houseinfo['expiretime'] >=0 ){
if
(
strtotime
(
date
(
'Y-m-d'
))
-
$houseinfo
[
'expiretime'
]
>=
0
){
// $result['msgs'][$val] = '已过期
!';
$result
[
'msgs'
][
$val
]
=
'已过期,请删除
!'
;
//
continue;
continue
;
//
}
}
//判断源活房源是否有否超过上限
//判断源活房源是否有否超过上限
...
...
new_admincp/applications/zsb/controllers/sell.php
View file @
6b565772
...
@@ -667,7 +667,7 @@ class Sell extends MY_Controller {
...
@@ -667,7 +667,7 @@ class Sell extends MY_Controller {
}
}
//2017-09-07住宅额外增加面积,单价判断判断
//2017-09-07住宅额外增加面积,单价判断判断
if
(
$fields_values
[
'infotype'
]
==
1
){
if
(
$fields_values
[
'infotype'
]
==
1
){
if
(
15
>
$fields_values
[
'buildarea'
]
||
$fields_values
[
'buildarea'
]
>
500
){
if
(
15
>
$fields_values
[
'buildarea'
]
||
$fields_values
[
'buildarea'
]
>
9999
){
$this
->
jump
(
$url_manage
,
'住宅面积必须在15-500平米之间'
,
3000
);
$this
->
jump
(
$url_manage
,
'住宅面积必须在15-500平米之间'
,
3000
);
exit
;
exit
;
}
}
...
@@ -3075,6 +3075,7 @@ class Sell extends MY_Controller {
...
@@ -3075,6 +3075,7 @@ class Sell extends MY_Controller {
&&
!
empty
(
$pic_check_arr
)
&&
$uid
>
0
)
&&
!
empty
(
$pic_check_arr
)
&&
$uid
>
0
)
{
{
$this
->
load
->
model
(
'admin_check'
);
$this
->
load
->
model
(
'admin_check'
);
$this
->
admin_check
->
delete_check_pic_all
(
$tbl
,
$house_id
);
foreach
(
$pic_check_arr
as
$key
=>
$val
)
foreach
(
$pic_check_arr
as
$key
=>
$val
)
{
{
$infotype
=
$fields_values
[
'infotype'
];
$infotype
=
$fields_values
[
'infotype'
];
...
@@ -4815,8 +4816,7 @@ class Sell extends MY_Controller {
...
@@ -4815,8 +4816,7 @@ class Sell extends MY_Controller {
mysql_close
(
$databaseSellWarning
);
mysql_close
(
$databaseSellWarning
);
// Order By Time
// Order By Time
$array
=
array
();
/*$array = array();
foreach($data_info as $value){
foreach($data_info as $value){
if(!empty($value['freeze_info']['freezetime'])){
if(!empty($value['freeze_info']['freezetime'])){
$array[intval($value['freeze_info']['freezetime'])] = $value;
$array[intval($value['freeze_info']['freezetime'])] = $value;
...
@@ -4828,7 +4828,7 @@ class Sell extends MY_Controller {
...
@@ -4828,7 +4828,7 @@ class Sell extends MY_Controller {
}
}
}
}
krsort($array);
krsort($array);
$data_info
=
$array
;
$data_info = $array;
*/
}
}
}
}
$data
[
'data_info'
]
=
$data_info
;
$data
[
'data_info'
]
=
$data_info
;
...
@@ -7104,6 +7104,63 @@ class Sell extends MY_Controller {
...
@@ -7104,6 +7104,63 @@ class Sell extends MY_Controller {
echo
json_encode
(
$re
);
die
;
echo
json_encode
(
$re
);
die
;
}
}
//冻结房源删除
public
function
house_frozen_del
()
{
$rowid
=
$this
->
input
->
get
(
'rowid'
,
TRUE
);
$secret_key
=
$this
->
input
->
get
(
'secret_key'
,
TRUE
);
if
(
intval
(
$rowid
)
>
0
&&
md5
(
'HOUSE365_SELL_APPEAL_'
.
$rowid
)
==
$secret_key
)
{
$uid
=
$this
->
user_arr
[
'uid'
];
$agentcode
=
$this
->
user_arr
[
'agentcode'
];
/*** 1、删除房源 ***/
$delete_num
=
0
;
$this
->
load
->
model
(
'sell_operate_model'
);
$delete_num
=
$this
->
sell_operate_model
->
delete_house
(
$rowid
);
if
(
$delete_num
>
0
)
{
//加载中间件统计类
$this
->
load
->
library
(
'statistics'
);
//加载门店类
$this
->
load
->
model
(
'agency_model'
);
$relation_info
=
array
();
$relation_info
=
$this
->
agency_model
->
get_relation_by_agentcode
(
$agentcode
);
$domain
=
isset
(
$relation_info
[
'cat_id'
])
?
$relation_info
[
'cat_id'
]
:
0
;
$parentcode
=
''
;
if
(
is_array
(
$relation_info
)
&&
!
empty
(
$relation_info
))
{
$parentcode
=
isset
(
$relation_info
[
'parentcode'
])
?
$relation_info
[
'parentcode'
]
:
''
;
}
else
{
$parentinfo
=
array
();
$select_array
=
array
(
'parentcode'
);
$this
->
agency_model
->
set_select_fields
(
$select_array
);
$parentinfo
=
$this
->
agency_model
->
get_company_info_by_code
(
$agentcode
);
$parentcode
=
isset
(
$parentinfo
[
'parentcode'
])
?
$parentinfo
[
'parentcode'
]
:
''
;
}
/*** 4、通过接口提交操作日志给中间件,operatetype 1:新增 2刷新 3删除 4失效 5再发布 ***/
$this
->
statistics
->
sub_operatecount
(
$uid
,
$agentcode
,
3
,
$rowid
,
''
,
'sell'
,
$domain
,
$parentcode
);
/*** 5、提交房源操作日志给MYSQL(经纪人日志查询),[$msg:4-失效房源] ***/
$this
->
sell_model
->
action_log
(
$agentcode
,
$uid
,
'sell'
,
$rowid
,
0
);
$result
[
'is_ok'
]
=
1
;
$msg
=
'操作成功'
;
}
else
{
$result
[
'is_ok'
]
=
0
;
$msg
=
'删除房源失败。'
;
}
/** 删除结束 **/
}
else
{
$result
[
'is_ok'
]
=
0
;
$msg
=
'参数错误'
;
}
$result
[
'msg'
]
=
iconv
(
'gb2312'
,
'utf-8'
,
$msg
);
echo
json_encode
(
$result
);
exit
;
}
}
}
/* End of file sell.php */
/* End of file sell.php */
...
...
new_admincp/applications/zsb/controllers/ucenter_information.php
View file @
6b565772
...
@@ -422,117 +422,132 @@ class ucenter_information extends MY_Controller{
...
@@ -422,117 +422,132 @@ class ucenter_information extends MY_Controller{
//手机信息保存
//手机信息保存
public
function
save_phone
(){
public
function
save_phone
()
{
$session_info
=
$this
->
broker_model
->
get_user_session
();
$session_info
=
$this
->
broker_model
->
get_user_session
();
$newphone
=
trim
(
$this
->
input
->
post
(
'newphone'
));
$newphone
=
trim
(
$this
->
input
->
post
(
'newphone'
));
$oldphone
=
trim
(
$this
->
input
->
post
(
'oldphone'
));
$oldphone
=
trim
(
$this
->
input
->
post
(
'oldphone'
));
$phonecode
=
trim
(
$this
->
input
->
post
(
'phonecode'
));
$phonecode
=
trim
(
$this
->
input
->
post
(
'phonecode'
));
if
(
$newphone
==
""
)
{
if
(
$newphone
==
""
)
{
echo
"0"
;
echo
"0"
;
exit
;
exit
;
}
}
if
(
$newphone
==
$oldphone
)
{
if
(
$newphone
==
$oldphone
)
{
echo
"2"
;
echo
"2"
;
exit
;
exit
;
}
}
if
(
!
$phonecode
||
!
preg_match
(
"/^
\\
d
{
6
}
$/"
,
$phonecode
))
{
if
(
!
$phonecode
||
!
preg_match
(
"/^
\\
d
{
6
}
$/"
,
$phonecode
))
{
echo
"3"
;
exit
;
echo
"3"
;
}
else
{
exit
;
}
else
{
$result
=
$this
->
broker_model
->
change_phone_num
(
$session_info
[
'uid'
]);
$result
=
$this
->
broker_model
->
change_phone_num
(
$session_info
[
'uid'
]);
if
(
$result
>
0
)
{
if
(
$result
>
0
)
{
echo
"4"
;
//一天只能修改一次
echo
"4"
;
//一天只能修改一次
exit
;
exit
;
}
}
$row
=
$this
->
broker_model
->
get_certifycode
(
$session_info
[
'uid'
],
$newphone
);
$row
=
$this
->
broker_model
->
get_certifycode
(
$session_info
[
'uid'
],
$newphone
);
if
(
empty
(
$row
))
{
if
(
empty
(
$row
))
{
echo
"5"
;
//验证码过期
echo
"5"
;
//验证码过期
exit
;
exit
;
}
}
if
(
$phonecode
!=
$row
[
"validcode"
]){
if
(
$phonecode
!=
$row
[
"validcode"
])
{
//echo "验证码输入错误";
//echo "验证码输入错误";
echo
"3"
;
exit
;
echo
"3"
;
}
elseif
(
$newphone
!=
$row
[
"mobile"
]){
exit
;
echo
"5"
;
exit
;
}
else
if
(
$newphone
!=
$row
[
"mobile"
])
{
}
else
{
echo
"5"
;
$flag
=
$this
->
broker_model
->
set_broker_info
(
$session_info
[
'uid'
],
array
(
"telno"
=>
$newphone
));
exit
;
}
else
{
if
(
$flag
){
// 调用用户中心修改手机号码
$ucRes
=
$this
->
broker_model
->
changeUcPhone
(
$session_info
[
'uid'
],
$newphone
);
if
(
$ucRes
[
'result'
]
==
0
)
{
echo
"6"
;
exit
;
}
$flag
=
$this
->
broker_model
->
set_broker_info
(
$session_info
[
'uid'
],
array
(
"telno"
=>
$newphone
));
if
(
$flag
)
{
//修改房源联系号码
//修改房源联系号码
$this
->
load
->
model
(
'sell_model'
);
$this
->
load
->
model
(
'sell_model'
);
$this
->
sell_model
->
update_sell_mobile
(
$session_info
[
'uid'
],
$newphone
);
$this
->
sell_model
->
update_sell_mobile
(
$session_info
[
'uid'
],
$newphone
);
$this
->
load
->
model
(
'rent_model'
);
$this
->
load
->
model
(
'rent_model'
);
$this
->
rent_model
->
update_rent_mobile
(
$session_info
[
'uid'
],
$newphone
);
$this
->
rent_model
->
update_rent_mobile
(
$session_info
[
'uid'
],
$newphone
);
//修改验证码状态
//修改验证码状态
$this
->
broker_model
->
update_certifycode
(
$row
[
'id'
]);
$this
->
broker_model
->
update_certifycode
(
$row
[
'id'
]);
//失效名片认证
//失效名片认证
$this
->
broker_model
->
check_certificate
(
$session_info
[
'uid'
],
'p_3'
,
1
,
2
,
'修改手机号码,名片认证失效'
);
$this
->
broker_model
->
check_certificate
(
$session_info
[
'uid'
],
'p_3'
,
1
,
2
,
'修改手机号码,名片认证失效'
);
$this
->
broker_model
->
set_broker_info
(
$session_info
[
'uid'
],
array
(
"p_3_pic"
=>
""
));
$this
->
broker_model
->
set_broker_info
(
$session_info
[
'uid'
],
array
(
"p_3_pic"
=>
""
));
//$session_info['telno'] = $newphone;
//$session_info['telno'] = $newphone;
$this
->
del_broker_cache
(
$session_info
[
'uid'
]);
$this
->
del_broker_cache
(
$session_info
[
'uid'
]);
// $this->broker_model->reset_user_session(); //可能没用
// $this->broker_model->reset_user_session(); //可能没用
//$session_key = $this->broker_model->get_appkey();
//$session_key = $this->broker_model->get_appkey();
//$this->session->set_userdata(array($session_key => $session_info));//修改session信息
//$this->session->set_userdata(array($session_key => $session_info));//修改session信息
$this
->
update_session_info
(
$session_info
,
'telno'
,
$newphone
);
$this
->
update_session_info
(
$session_info
,
'telno'
,
$newphone
);
echo
"1"
;
exit
;
echo
"1"
;
}
else
{
exit
;
echo
"6"
;
exit
;
}
else
{
echo
"6"
;
exit
;
}
}
}
}
}
}
exit
;
exit
;
}
}
//修改登录密码
//修改登录密码
public
function
save_pwd
(){
public
function
save_pwd
()
{
$session_info
=
$this
->
broker_model
->
get_user_session
();
$session_info
=
$this
->
broker_model
->
get_user_session
();
$oldpwd
=
$this
->
input
->
post
(
'oldpwd'
,
TRUE
);
$oldpwd
=
$this
->
input
->
post
(
'oldpwd'
,
true
);
$newpwd
=
$this
->
input
->
post
(
'newpwd'
,
TRUE
);
$newpwd
=
$this
->
input
->
post
(
'newpwd'
,
true
);
$newpwd2
=
$this
->
input
->
post
(
'newpwd2'
,
TRUE
);
$newpwd2
=
$this
->
input
->
post
(
'newpwd2'
,
true
);
if
(
$oldpwd
==
""
)
{
if
(
$oldpwd
==
""
)
{
echo
"2"
;
echo
"2"
;
exit
;
exit
;
}
}
if
(
$newpwd
==
""
)
{
if
(
$newpwd
==
""
)
{
echo
"3"
;
echo
"3"
;
exit
;
exit
;
}
}
if
(
$newpwd
!=
$newpwd2
)
{
if
(
$newpwd
!=
$newpwd2
)
{
echo
"4"
;
echo
"4"
;
exit
;
exit
;
}
}
$oldpassword
=
$this
->
encrypt_pwd
(
$oldpwd
);
$oldpassword
=
$this
->
encrypt_pwd
(
$oldpwd
);
$newpassword
=
$this
->
encrypt_pwd
(
$newpwd
);
$newpassword
=
$this
->
encrypt_pwd
(
$newpwd
);
$this
->
broker_model
->
set_uid
(
$session_info
[
'uid'
]);
$this
->
broker_model
->
set_uid
(
$session_info
[
'uid'
]);
$broker_info
=
$this
->
broker_model
->
get_broker_detail
(
false
);
$broker_info
=
$this
->
broker_model
->
get_broker_detail
(
false
);
$oldpwd
=
$broker_info
[
'password'
];
if
(
$oldpassword
==
$oldpwd
){
$flag
=
$this
->
broker_model
->
set_broker_info
(
$session_info
[
'uid'
],
array
(
"password"
=>
$newpassword
));
if
(
$flag
){
echo
"1"
;
$this
->
broker_model
->
saveChangePasswordLog
(
$newpassword
,
$broker_info
[
'uid'
],
$broker_info
[
'username'
]);
}
else
{
$oldpwd
=
$broker_info
[
'password'
];
if
(
$oldpassword
==
$oldpwd
)
{
// 调用用户中心更新
$flag
=
false
;
$ucRes
=
$this
->
broker_model
->
updateUcPwd
(
$session_info
[
'uid'
],
$newpwd
);
if
(
$ucRes
[
'result'
]
==
1
)
{
$flag
=
$this
->
broker_model
->
set_broker_info
(
$session_info
[
'uid'
],
array
(
"password"
=>
$newpassword
));
}
if
(
$flag
)
{
echo
"1"
;
$this
->
broker_model
->
saveChangePasswordLog
(
$newpassword
,
$broker_info
[
'uid'
],
$broker_info
[
'username'
]);
}
else
{
echo
"2"
;
echo
"2"
;
}
}
}
}
else
{
else
{
echo
"2"
;
echo
"2"
;
}
}
exit
;
exit
;
}
}
...
...
new_admincp/applications/zsb/controllers/welcome.php
View file @
6b565772
...
@@ -178,7 +178,6 @@ class Welcome extends MY_Controller
...
@@ -178,7 +178,6 @@ class Welcome extends MY_Controller
$today_stat
[
'remainJtLable'
]
=
$this
->
house_tag_package_model
->
get_tag_valid_num
(
$uid
,
1
);
$today_stat
[
'remainJtLable'
]
=
$this
->
house_tag_package_model
->
get_tag_valid_num
(
$uid
,
1
);
$today_stat
[
'jtLabelCount'
]
=
isset
(
$today_stat
[
'jtLabelCount'
])
?
$today_stat
[
'jtLabelCount'
]
:
''
;
$today_stat
[
'jtLabelCount'
]
=
isset
(
$today_stat
[
'jtLabelCount'
])
?
$today_stat
[
'jtLabelCount'
]
:
''
;
//$today_stat['remainJtLable'] = isset($today_stat['remainJtLable']) ? $today_stat['remainJtLable'] : '';
//$today_stat['remainJtLable'] = isset($today_stat['remainJtLable']) ? $today_stat['remainJtLable'] : '';
/*** 未使用标签数据2015-5-16 zhou end***/
/*** 未使用标签数据2015-5-16 zhou end***/
$this
->
load
->
model
(
'broker_model'
);
$this
->
load
->
model
(
'broker_model'
);
...
@@ -190,7 +189,7 @@ class Welcome extends MY_Controller
...
@@ -190,7 +189,7 @@ class Welcome extends MY_Controller
{
{
$info
[
'accout_manager'
]
=
$this
->
broker_model
->
get_account_manager
(
$broker_detail
[
'master'
]);
//客户经理
$info
[
'accout_manager'
]
=
$this
->
broker_model
->
get_account_manager
(
$broker_detail
[
'master'
]);
//客户经理
}
}
$info
[
'expiredate'
]
=
$broker_detail
[
'expiredate'
]
!=
'0000-00-00'
?
date
(
"Y-m-d"
,
strtotime
(
$broker_detail
[
'expiredate'
]))
:
''
;
$info
[
'expiredate'
]
=
$broker_detail
[
'expiredate'
]
!=
'0000-00-00'
?
date
(
"Y-m-d"
,
strtotime
(
$broker_detail
[
'expiredate'
]))
:
''
;
$info
[
'remain_days'
]
=
$this
->
get_days
(
$today
,
$info
[
'expiredate'
]);
$info
[
'remain_days'
]
=
$this
->
get_days
(
$today
,
$info
[
'expiredate'
]);
//帐号到期提醒设置cookies
//帐号到期提醒设置cookies
...
@@ -200,13 +199,13 @@ class Welcome extends MY_Controller
...
@@ -200,13 +199,13 @@ class Welcome extends MY_Controller
$growth_broker_pay_message
=
$this
->
growth_broker_pay_account
(
$uid
,
$package_id
);
$growth_broker_pay_message
=
$this
->
growth_broker_pay_account
(
$uid
,
$package_id
);
//帐号快到期提醒扣除分值
//帐号快到期提醒扣除分值
$accountFailureScore
=
$this
->
accountFailure
(
$package_id
);
$accountFailureScore
=
$this
->
accountFailure
(
$package_id
);
//是否提醒帐号已发虚假房源
//是否提醒帐号已发虚假房源
$is_warn
=
$this
->
is_warn
(
$this
->
uid_arr
[
'uid'
],
$this
->
uid_arr
[
'is_warn'
]);
$is_warn
=
$this
->
is_warn
(
$this
->
uid_arr
[
'uid'
],
$this
->
uid_arr
[
'is_warn'
]);
//生日祝福
//生日祝福
//$is_birthday = $this->brithdayMessage();
//$is_birthday = $this->brithdayMessage();
/******** 2015-8-11 zhou 删除冻结提示 start*********/
/******** 2015-8-11 zhou 删除冻结提示 start*********/
$broker_delete_data
=
$this
->
welcome_model
->
get_delete_data
(
$uid
);
$broker_delete_data
=
$this
->
welcome_model
->
get_delete_data
(
$uid
);
$broker_freeze_data
=
$this
->
welcome_model
->
get_freeze_data
(
$uid
);
$broker_freeze_data
=
$this
->
welcome_model
->
get_freeze_data
(
$uid
);
...
@@ -221,8 +220,8 @@ class Welcome extends MY_Controller
...
@@ -221,8 +220,8 @@ class Welcome extends MY_Controller
$broker_remind_set
=
$this
->
broker_model
->
get_broker_remind_set_by_uid
(
$uid
);
$broker_remind_set
=
$this
->
broker_model
->
get_broker_remind_set_by_uid
(
$uid
);
// 2016-2-15 获取360引导页数据 -----------end -------->
// 2016-2-15 获取360引导页数据 -----------end -------->
if
(
GB_CITY
!=
'nj'
)
if
(
GB_CITY
!=
'nj'
)
{
{
$this
->
broker_model
->
check_broker_refresh_num
(
$uid
,
$package_id
);
$this
->
broker_model
->
check_broker_refresh_num
(
$uid
,
$package_id
);
$this
->
broker_model
->
check_broker_growth_credit
(
$uid
);
$this
->
broker_model
->
check_broker_growth_credit
(
$uid
);
...
...
new_admincp/applications/zsb/core/MY_Controller.php
View file @
6b565772
...
@@ -140,9 +140,18 @@ class MY_Controller extends CI_Controller
...
@@ -140,9 +140,18 @@ class MY_Controller extends CI_Controller
$isonline
=
FALSE
;
$isonline
=
FALSE
;
}
}
if
(
$u_session
){
$expiredate
=
empty
(
$u_session
[
'expiredate'
])
?
''
:
$u_session
[
'expiredate'
];
$date
=
date
(
'Y-m-d'
);
if
(
$expiredate
&&
$date
>
$expiredate
){
//清空之前的登陆数据
$this
->
broker_model
->
logout
();
$isonline
=
FALSE
;
}
}
}
}
//不在线跳出登陆
//不在线跳出登陆
if
(
!
$isonline
)
if
(
!
$isonline
)
{
{
...
...
new_admincp/applications/zsb/models/admin_check.php
View file @
6b565772
...
@@ -84,7 +84,20 @@ class admin_check extends MY_Model {
...
@@ -84,7 +84,20 @@ class admin_check extends MY_Model {
$this
->
db
->
where
(
'picid'
,
$pic_id
);
$this
->
db
->
where
(
'picid'
,
$pic_id
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check
);
}
}
/**
*
* @param type $tbl
* @param type $house_id
* @param type $pic_id
*/
public
function
delete_check_pic_all
(
$tbl
,
$house_id
)
{
$this
->
db
->
where
(
'housetbl'
,
$tbl
);
$this
->
db
->
where
(
'houseid'
,
$house_id
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check
);
}
/**
/**
*
*
* @param type $tbl
* @param type $tbl
...
@@ -98,7 +111,21 @@ class admin_check extends MY_Model {
...
@@ -98,7 +111,21 @@ class admin_check extends MY_Model {
$this
->
db
->
where
(
'picid'
,
$pic_id
);
$this
->
db
->
where
(
'picid'
,
$pic_id
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check_sub
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check_sub
);
}
}
/**
*
* @param type $tbl
* @param type $house_id
* @param type $pic_id
*/
public
function
delete_check_pic_sub_all
(
$tbl
,
$house_id
)
{
$this
->
db
->
where
(
'housetbl'
,
$tbl
);
$this
->
db
->
where
(
'houseid'
,
$house_id
);
$this
->
db
->
delete
(
$this
->
_tbl_pic_check_sub
);
}
/**
/**
*
*
* @param type $insert_data
* @param type $insert_data
...
...
new_admincp/applications/zsb/models/broker_model.php
View file @
6b565772
...
@@ -1450,6 +1450,44 @@ class Broker_model extends Broker_base_model {
...
@@ -1450,6 +1450,44 @@ class Broker_model extends Broker_base_model {
return
'success'
;
return
'success'
;
}
}
/**
* 更新用户中心的密码
* @param $uid
* @param $password
* @return mixed
* @author mellon
*/
public
function
updateUcPwd
(
$uid
,
$password
)
{
// 调用用户中心更新
$this
->
load
->
model
(
'zsb_api_model'
);
// 租售宝API调用类
$ucParams
=
array
(
'brokerId'
=>
$uid
,
'password'
=>
$password
,
'city'
=>
GB_CITY
,
);
$ucParams
[
'sign'
]
=
$this
->
zsb_api_model
->
getSign
(
$ucParams
);
return
$this
->
zsb_api_model
->
getRequrstData
(
'uc_update'
,
$ucParams
);
}
/**
* 更改用户中心手机号码
* @param $uid
* @param $newPhone
* @return mixed
* @author mellon
*/
public
function
changeUcPhone
(
$uid
,
$newPhone
)
{
// 调用用户中心更新
$this
->
load
->
model
(
'zsb_api_model'
);
// 租售宝API调用类
$ucParams
=
array
(
'uid'
=>
$uid
,
'phone'
=>
$newPhone
,
'city'
=>
GB_CITY
,
);
return
$this
->
zsb_api_model
->
getRequrstData
(
'change_uc_phone'
,
$ucParams
);
}
}
}
/* End of file Broker_model.php */
/* End of file Broker_model.php */
...
...
new_admincp/applications/zsb/models/pic_model.php
View file @
6b565772
...
@@ -531,7 +531,7 @@ class Pic_model extends MY_Model {
...
@@ -531,7 +531,7 @@ class Pic_model extends MY_Model {
$this->uf->setWatermarkPosition("rb");
$this->uf->setWatermarkPosition("rb");
$this->uf->setWatermarkImage("http://guanli.house365.com/images/sy2.png");//水印
$this->uf->setWatermarkImage("http://guanli.house365.com/images/sy2.png");//水印
*/
*/
$this
->
uf
->
setWatermark
(
tru
e
);
//暂时不打水印 by zain 2018-9-26
$this
->
uf
->
setWatermark
(
fals
e
);
//暂时不打水印 by zain 2018-9-26
$this
->
uf
->
setWatermarkType
(
2
);
$this
->
uf
->
setWatermarkType
(
2
);
$logo
=
$_SERVER
[
'DOCUMENT_ROOT'
]
.
"/source/zsb/images/v1.0/logo_watermark.png"
;
$logo
=
$_SERVER
[
'DOCUMENT_ROOT'
]
.
"/source/zsb/images/v1.0/logo_watermark.png"
;
$this
->
uf
->
setWatermarkImage
(
$logo
);
//水印
$this
->
uf
->
setWatermarkImage
(
$logo
);
//水印
...
...
new_admincp/applications/zsb/views/nj/login.php
View file @
6b565772
...
@@ -192,10 +192,10 @@ $phone = getPhone(4);
...
@@ -192,10 +192,10 @@ $phone = getPhone(4);
<div
class=
"loginBlock"
>
<div
class=
"loginBlock"
>
<div
class=
"hd"
><a
href=
"./"
class=
"item itemOn"
>
经纪人版登录
</a><a
href=
"
<?php
echo
GB_WS_URL
.
'/login.php?city='
.
GB_CITY
;
?>
"
class=
"item"
>
门店版登录
</a></div>
<div
class=
"hd"
><a
href=
"./"
class=
"item itemOn"
>
经纪人版登录
</a><a
href=
"
<?php
echo
GB_WS_URL
.
'/login.php?city='
.
GB_CITY
;
?>
"
class=
"item"
>
门店版登录
</a></div>
<div
class=
"mod"
>
<div
class=
"mod"
>
<div
id=
"errorBlock"
><span
class=
"ico"
>
</span><span
id=
"errorInner"
></span></div>
<div
id=
"errorBlock"
><span
class=
"ico"
>
</span><span
id=
"errorInner"
></span></div>
<div
class=
"qrcode_login"
>
<div
class=
"qrcode_login"
>
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"qrcode_left"
>
<div
class=
"qrcode_left"
>
...
@@ -211,7 +211,7 @@ $phone = getPhone(4);
...
@@ -211,7 +211,7 @@ $phone = getPhone(4);
<div
class=
"qrcode-item clearfix"
>
<div
class=
"qrcode-item clearfix"
>
<div
class=
" clearfix"
style=
"width: 110px;margin: 0 auto"
>
<div
class=
" clearfix"
style=
"width: 110px;margin: 0 auto"
>
<a
class=
"findPow"
href=
"/login/findpw/"
target=
"_blank"
>
找回密码
</a><span
class=
"fg"
>
|
</span><a
<a
class=
"findPow"
href=
"/login/findpw/"
target=
"_blank"
>
找回密码
</a><span
class=
"fg"
>
|
</span><a
class=
"register"
href=
"
<?=
GB_BROKER_REG
?>
"
target=
"_blank"
>
立即注册
</a>
class=
"register"
href=
"
https://newrent.house365.com/
<?=
GB_CITY
?>
/agent_sign_up.html
"
target=
"_blank"
>
立即注册
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -220,33 +220,7 @@ $phone = getPhone(4);
...
@@ -220,33 +220,7 @@ $phone = getPhone(4);
<?php
<?php
$login_citys
=
array
(
$login_citys
=
array
(
'nj'
=>
array
(
'url'
=>
'http://nj.zsb.house365.com/'
,
'name'
=>
'南 京'
),
'nj'
=>
array
(
'url'
=>
'http://nj.zsb.house365.com/'
,
'name'
=>
'南 京'
),
'hf'
=>
array
(
'url'
=>
'http://hf.zsb.house365.com/'
,
'name'
=>
'合 肥'
),
'wh'
=>
array
(
'url'
=>
'http://wh.zsb.house365.com/'
,
'name'
=>
'芜 湖'
),
'wh'
=>
array
(
'url'
=>
'http://wh.zsb.house365.com/'
,
'name'
=>
'芜 湖'
),
'wx'
=>
array
(
'url'
=>
'http://wx.zsb.house365.com/'
,
'name'
=>
'无 锡'
),
'bb'
=>
array
(
'url'
=>
'http://bb.zsb.house365.com/'
,
'name'
=>
'蚌 埠'
),
'bh'
=>
array
(
'url'
=>
'http://bh.zsb.house365.com/'
,
'name'
=>
'北 海'
),
'cq'
=>
array
(
'url'
=>
'http://cq.zsb.house365.com/'
,
'name'
=>
'重 庆'
),
'dz'
=>
array
(
'url'
=>
'http://dz.zsb.house365.com/'
,
'name'
=>
'德 州'
),
'gy'
=>
array
(
'url'
=>
'http://gy.zsb.house365.com/'
,
'name'
=>
'贵 阳'
),
'jx'
=>
array
(
'url'
=>
'http://jx.zsb.house365.com/'
,
'name'
=>
'嘉 兴'
),
'mianyang'
=>
array
(
'url'
=>
'http://mianyang.zsb.house365.com/'
,
'name'
=>
'绵 阳'
),
'ph'
=>
array
(
'url'
=>
'http://ph.zsb.house365.com/'
,
'name'
=>
'平 湖'
),
'sh'
=>
array
(
'url'
=>
'http://sh.zsb.house365.com/'
,
'name'
=>
'上 海'
),
'tx'
=>
array
(
'url'
=>
'http://tx.zsb.house365.com/'
,
'name'
=>
'桐 乡'
),
'wlmq'
=>
array
(
'url'
=>
'http://wlmq.zsb.house365.com/'
,
'name'
=>
'乌鲁木齐'
),
'mas'
=>
array
(
'url'
=>
'http://mas.zsb.house365.com/'
,
'name'
=>
'马鞍山'
),
// 'cz' =>array('url'=>'http://zsb.house365.com/login.php','name'=>'常州'),
// 'hz' =>array('url'=>'http://zsb.house365.com/login.php','name'=>'杭州'),
// 'xa' =>array('url'=>'http://zsb.house365.com/login.php','name'=>'西安'),
// 'sz' =>array('url'=>'http://zsb.house365.com/login.php','name'=>'苏州'),
'fz'
=>
array
(
'url'
=>
'http://fz.zsb.house365.com/'
,
'name'
=>
'福州'
),
'hy'
=>
array
(
'url'
=>
'http://hy.zsb.house365.com/'
,
'name'
=>
'海盐'
),
'lz'
=>
array
(
'url'
=>
'http://lz.zsb.house365.com/'
,
'name'
=>
'兰州'
),
// 'lf'=>array('url'=>'http://lf.zsb.house365.com/','name'=>'廊坊'),
// 'taizhou'=>array('url'=>'http://taizhou.zsb.house365.com/','name'=>'台州'),
// 'nc'=>array('url'=>'http://nc.zsb.house365.com/','name'=>'南昌'),
// 'cz'=>array('url'=>'http://zsb.house365.com','name'=>'常 州'), //特殊
);
);
?>
?>
...
@@ -290,11 +264,11 @@ $phone = getPhone(4);
...
@@ -290,11 +264,11 @@ $phone = getPhone(4);
style=
"width:280px;margin:15px auto 10px auto;border-top:1px solid #d9d9d9;"
>
style=
"width:280px;margin:15px auto 10px auto;border-top:1px solid #d9d9d9;"
>
<div
class=
"item_relative clearfix"
style=
"width: 130px;margin: 0 auto"
>
<div
class=
"item_relative clearfix"
style=
"width: 130px;margin: 0 auto"
>
<a
class=
"findPow"
href=
"/login/findpw/"
target=
"_blank"
>
找回密码
</a><span
class=
"fg"
>
|
</span><a
<a
class=
"findPow"
href=
"/login/findpw/"
target=
"_blank"
>
找回密码
</a><span
class=
"fg"
>
|
</span><a
class=
"register"
href=
"
<?=
GB_BROKER_REG
?>
"
target=
"_blank"
>
立即注册
</a>
class=
"register"
href=
"
https://newrent.house365.com/
<?=
GB_CITY
?>
/agent_sign_up.html
"
target=
"_blank"
>
立即注册
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -307,7 +281,7 @@ $phone = getPhone(4);
...
@@ -307,7 +281,7 @@ $phone = getPhone(4);
<p
class=
"link"
>
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/aboutus.php?city=
<?php
echo
GB_CITY
;
?>
"
>
关于我们
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/contactus.php?city=
<?php
echo
GB_CITY
;
?>
"
>
联系我们
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/joinus.php?city=
<?php
echo
GB_CITY
;
?>
"
>
招聘信息
</a>
|
<a
href=
"javascript:void(0)"
id=
"show_fen_sell"
>
各地二手房
</a>
|
<a
href=
"javascript:void(0)"
id=
"show_fen_rent"
>
各地租房
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/friendlink.php?city=
<?php
echo
GB_CITY
;
?>
"
>
友情链接
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/partner.php?city=
<?php
echo
GB_CITY
;
?>
"
>
合作伙伴
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/statement.php"
>
法律声明
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.house365.com/sitemap.html"
>
网站地图
</a>
</p>
<p
class=
"link"
>
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/aboutus.php?city=
<?php
echo
GB_CITY
;
?>
"
>
关于我们
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/contactus.php?city=
<?php
echo
GB_CITY
;
?>
"
>
联系我们
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/joinus.php?city=
<?php
echo
GB_CITY
;
?>
"
>
招聘信息
</a>
|
<a
href=
"javascript:void(0)"
id=
"show_fen_sell"
>
各地二手房
</a>
|
<a
href=
"javascript:void(0)"
id=
"show_fen_rent"
>
各地租房
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/friendlink.php?city=
<?php
echo
GB_CITY
;
?>
"
>
友情链接
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/partner.php?city=
<?php
echo
GB_CITY
;
?>
"
>
合作伙伴
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://www.house365.com/about/statement.php"
>
法律声明
</a>
|
<a
rel=
"nofollow"
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.house365.com/sitemap.html"
>
网站地图
</a>
</p>
<p>
365二手房:
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com"
>
二手房
</a>
<a
target=
"_blank"
href=
"http://wx.rent.house365.com/"
>
租房
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/community/"
>
小区
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qA.html"
>
A
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qB.html"
>
B
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qC.html"
>
C
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qD.html"
>
D
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qE.html"
>
E
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qF.html"
>
F
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qG.html"
>
G
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qH.html"
>
H
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qI.html"
>
I
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qJ.html"
>
J
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qK.html"
>
K
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qL.html"
>
L
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qM.html"
>
M
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qN.html"
>
N
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qO.html"
>
O
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qP.html"
>
P
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qQ.html"
>
Q
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qR.html"
>
R
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qS.html"
>
S
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qT.html"
>
T
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qU.html"
>
U
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qV.html"
>
V
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qW.html"
>
W
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qX.html"
>
X
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qY.html"
>
Y
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qZ.html"
>
Z
</a>
</p>
<p>
365二手房:
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com"
>
二手房
</a>
<a
target=
"_blank"
href=
"http://wx.rent.house365.com/"
>
租房
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/community/"
>
小区
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qA.html"
>
A
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qB.html"
>
B
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qC.html"
>
C
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qD.html"
>
D
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qE.html"
>
E
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qF.html"
>
F
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qG.html"
>
G
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qH.html"
>
H
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qI.html"
>
I
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qJ.html"
>
J
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qK.html"
>
K
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qL.html"
>
L
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qM.html"
>
M
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qN.html"
>
N
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qO.html"
>
O
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qP.html"
>
P
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qQ.html"
>
Q
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qR.html"
>
R
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qS.html"
>
S
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qT.html"
>
T
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qU.html"
>
U
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qV.html"
>
V
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qW.html"
>
W
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qX.html"
>
X
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qY.html"
>
Y
</a>
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/sitemap_qZ.html"
>
Z
</a>
</p>
<p>
365淘房 -
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/"
>
<?php
echo
CITY_NAME
;
?>
二手房
</a>
sell.house365.com
©
2006-
<?php
echo
date
(
'Y'
);
?>
 
苏 B2-20110162
</p>
<p>
365淘房 -
<a
target=
"_blank"
href=
"http://
<?php
echo
GB_CITY
;
?>
.sell.house365.com/"
>
<?php
echo
CITY_NAME
;
?>
二手房
</a>
sell.house365.com
©
2006-
<?php
echo
date
(
'Y'
);
?>
 
苏 B2-20110162
</p>
</div>
</div>
<div
class=
"fenzhan"
>
<div
class=
"fenzhan"
>
<div
id=
"fen_sell_tc"
class=
"fenzhantc"
style=
"display: none;"
>
<div
id=
"fen_sell_tc"
class=
"fenzhantc"
style=
"display: none;"
>
...
@@ -358,7 +332,7 @@ var _hmt = _hmt || [];
...
@@ -358,7 +332,7 @@ var _hmt = _hmt || [];
(
function
()
{
(
function
()
{
var
hm
=
document
.
createElement
(
"script"
);
var
hm
=
document
.
createElement
(
"script"
);
hm
.
src
=
"//hm.baidu.com/hm.js?cfb3ca2185f627bb726977b7d8c94da4"
;
hm
.
src
=
"//hm.baidu.com/hm.js?cfb3ca2185f627bb726977b7d8c94da4"
;
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
var
s
=
document
.
getElementsByTagName
(
"script"
)[
0
];
s
.
parentNode
.
insertBefore
(
hm
,
s
);
s
.
parentNode
.
insertBefore
(
hm
,
s
);
})();
})();
</
script
>
</
script
>
...
...
new_admincp/applications/zsb/views/nj/sell_manage_frozen.php
View file @
6b565772
...
@@ -215,6 +215,8 @@
...
@@ -215,6 +215,8 @@
<span
class=
"fg"
>
|
</span>
<span
class=
"fg"
>
|
</span>
<?php
if
(
$value
[
'freeze_info'
][
"esta"
]
!=
2
)
{
?>
<?php
if
(
$value
[
'freeze_info'
][
"esta"
]
!=
2
)
{
?>
<a
href=
"###"
class=
"link"
onclick=
"appeal(
<?php
echo
$value
[
'id'
];
?>
,
<?php
echo
$value
[
'esta'
];
?>
, '
<?php
echo
date
(
"Y-m-d H:i"
,
$value
[
'freeze_info'
][
"freezetime"
]);
?>
','
<?php
echo
$value
[
'freeze_info'
][
'reason'
];
?>
','
<?php
echo
md5
(
"HOUSE365_SELL_APPEAL_"
.
$value
[
"id"
]);
?>
',this);"
>
申诉
</a>
<a
href=
"###"
class=
"link"
onclick=
"appeal(
<?php
echo
$value
[
'id'
];
?>
,
<?php
echo
$value
[
'esta'
];
?>
, '
<?php
echo
date
(
"Y-m-d H:i"
,
$value
[
'freeze_info'
][
"freezetime"
]);
?>
','
<?php
echo
$value
[
'freeze_info'
][
'reason'
];
?>
','
<?php
echo
md5
(
"HOUSE365_SELL_APPEAL_"
.
$value
[
"id"
]);
?>
',this);"
>
申诉
</a>
<span
class=
"fg"
>
|
</span>
<a
href=
"###"
class=
"link"
onclick=
"selldel(
<?php
echo
$value
[
'id'
];
?>
,'
<?php
echo
md5
(
"HOUSE365_SELL_APPEAL_"
.
$value
[
"id"
]);
?>
')"
>
删除
</a>
<?php
}
else
{
?>
<?php
}
else
{
?>
受理中
受理中
<?php
}
?>
<?php
}
?>
...
@@ -299,8 +301,30 @@
...
@@ -299,8 +301,30 @@
<div
class=
"text"
id=
"dialog_tip"
></div>
<div
class=
"text"
id=
"dialog_tip"
></div>
</div>
</div>
</div>
</div>
<!-- 冻结删除 -->
<div
id=
"pop_dialog"
class=
"dialog radius5"
>
<div
class=
"hd"
>
<h3
class=
"h3"
>
提示
</h3>
<span
title=
"关闭"
class=
"close close-win"
>
Χ
</span>
</div>
<div
class=
"mod"
>
<div
class=
"text"
id=
"pop_tips"
></div>
<div
style=
"padding:20px 0 0 65px;"
>
<a
href=
"###"
class=
"btn btnConColor radius5 "
onclick=
"selldelajax();close_confirm_window()"
>
确定
</a>
<a
href=
"###"
class=
"btn btnCon radius5 close-win"
>
取消
</a>
<input
type =
"hidden"
id=
"pop_rowid"
value=
""
>
<input
type =
"hidden"
id=
"pop_secret_key"
value=
""
>
</div>
</div>
</div>
<!-- 成功提示 -->
<div
id=
"pop_success"
class=
"dialog radius5"
>
<div
class=
"hd"
>
<h3
class=
"h3"
>
提示
</h3>
</div>
<div
class=
"mod"
>
<div
class=
"text"
id=
"pop_success_tips"
></div>
</div>
</div>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
function
words_deal
()
function
words_deal
()
{
{
...
@@ -435,5 +459,35 @@ function appeal_add ()
...
@@ -435,5 +459,35 @@ function appeal_add ()
//$("#gTipsCoverjsDialogNeighborhoodComplain").remove();
//$("#gTipsCoverjsDialogNeighborhoodComplain").remove();
}
}
function
selldel
(
rowid
,
secret_key
){
$
(
"#pop_tips"
).
html
(
'确定删除房源:'
+
rowid
);
$
(
"#pop_rowid"
).
val
(
rowid
);
$
(
"#pop_secret_key"
).
val
(
secret_key
);
openWin
(
'pop_dialog'
);
}
//冻结房源删除功能
function
selldelajax
(){
openWin
(
'docation_loading'
);
var
rowid
=
$
(
"#pop_rowid"
).
val
();
var
secret_key
=
$
(
"#pop_secret_key"
).
val
();
$
.
ajax
({
type
:
'get'
,
url
:
'
<?php
echo
GB_WO_URL
;
?>
/sell/house_frozen_del/'
,
data
:
{
'secret_key'
:
secret_key
,
'rowid'
:
rowid
},
dataType
:
'json'
,
success
:
function
(
data
)
{
$
(
"#gTipsCoverdialogtc"
).
remove
();
$
(
"#docation_loading"
).
hide
();
if
(
data
.
is_ok
==
'1'
)
{
$
(
"#pop_success_tips"
).
html
(
data
.
msg
);
openWin
(
'pop_success'
);
setTimeout
(
'location.reload()'
,
2000
);
}
else
{
$
(
"#dialogts #dialog_tip"
).
html
(
data
.
msg
);
openWin
(
'dialogts'
);
}
}
});
}
</script>
</script>
\ No newline at end of file
new_admincp/vendor/house365/esfadmin/core/lib/growth_nj/GrowthExpControllPackage.php
View file @
6b565772
...
@@ -55,6 +55,7 @@ class GrowthExpControllPackage {
...
@@ -55,6 +55,7 @@ class GrowthExpControllPackage {
* @return array
* @return array
*/
*/
public
function
findOneByWayAliasAndPackageId
(
$wayAlias
,
$packageId
)
{
public
function
findOneByWayAliasAndPackageId
(
$wayAlias
,
$packageId
)
{
$packageId
=
empty
(
$packageId
)
?
0
:
$packageId
;
$sql
=
SqlCombinHelper
::
select_sql
(
$this
->
table
,
self
::
$fields
,
$sql
=
SqlCombinHelper
::
select_sql
(
$this
->
table
,
self
::
$fields
,
"way_alias = '
$wayAlias
' AND package_id =
$packageId
"
);
"way_alias = '
$wayAlias
' AND package_id =
$packageId
"
);
return
$this
->
dbback
->
getRow
(
$sql
);
return
$this
->
dbback
->
getRow
(
$sql
);
...
@@ -67,6 +68,7 @@ class GrowthExpControllPackage {
...
@@ -67,6 +68,7 @@ class GrowthExpControllPackage {
* @return int
* @return int
*/
*/
public
function
findScoreByWayAliasAndPackageId
(
$wayAlias
,
$packageId
)
{
public
function
findScoreByWayAliasAndPackageId
(
$wayAlias
,
$packageId
)
{
$packageId
=
empty
(
$packageId
)
?
0
:
$packageId
;
$arrRow
=
$this
->
findOneByWayAliasAndPackageId
(
$wayAlias
,
$packageId
);
$arrRow
=
$this
->
findOneByWayAliasAndPackageId
(
$wayAlias
,
$packageId
);
return
$arrRow
[
'score'
]
==
''
?
0
:
$arrRow
[
'score'
];
return
$arrRow
[
'score'
]
==
''
?
0
:
$arrRow
[
'score'
];
}
}
...
...
new_admincp/vendor/house365/esfadmin/core/lib/growth_nj/GrowthExpWayPackage.php
View file @
6b565772
...
@@ -57,6 +57,7 @@ class GrowthExpWayPackage {
...
@@ -57,6 +57,7 @@ class GrowthExpWayPackage {
* @return array
* @return array
*/
*/
public
function
findDataByWayAliasAndPackageId
(
$wayAlias
,
$packageId
)
{
public
function
findDataByWayAliasAndPackageId
(
$wayAlias
,
$packageId
)
{
$packageId
=
empty
(
$packageId
)
?
0
:
$packageId
;
$sql
=
SqlCombinHelper
::
select_sql
(
$this
->
table
,
self
::
$fields
,
$sql
=
SqlCombinHelper
::
select_sql
(
$this
->
table
,
self
::
$fields
,
"way_alias = '
$wayAlias
' AND package_id =
$packageId
"
);
"way_alias = '
$wayAlias
' AND package_id =
$packageId
"
);
return
$this
->
dbback
->
getRow
(
$sql
);
return
$this
->
dbback
->
getRow
(
$sql
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment