Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
[HTML]Notice: Undefined variable: redistricts in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 115
[Денвер: показать возможную причину ошибки]
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 118
Notice: Undefined variable: redistricts in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 119
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 122
Notice: Undefined variable: redistricts in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 123
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 126
Notice: Undefined variable: redistricts in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 127
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 130
Notice: Undefined variable: redistricts in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 131
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 134
Notice: Undefined variable: redistricts in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 164
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in Y:\home\realty.111.ru\www\modules\inc\realty_search_data.inc.php on line 176
Warning: Smarty error: unable to read resource: "index/index.html" in Y:\home\111.ru\www\core\smarty\libs\Smarty.class.php on line 10[/HTML]
realty_searc h_data.inc.php в студию)
кстати что там за пробел в названии?
<?php
/**
* @author игорь
* @copyright 2008
*/
$recities_sql = $db->fetch_array("SELECT id, region_id,title FROM city");
$i = 1;
foreach($recities_sql as $k=>$v)
{
$recities[$i]['title'] = $v['title'];
$recities[$i]['where'] = "AND rmc.city = '".$v['id']."'";
$i++;
}
$redistricts_sql = $db->fetch_array("SELECT id, city_id,title FROM districts");
$i = 1;
$redistricts = array();
if (!empty($redistricts_sql))
{
foreach($redistricts_sql as $k=>$v)
{
$redistricts[$i]['title'] = $v['title'];
$redistricts[$i]['where'] = "AND rmc.district = '".$v['id']."'";
$i++;
}
}
/** search_data **/
$search_data = array(
'operation' => array(
'1' => 'продажа',
'2' => 'купля',
'3' => 'аренда недвижимости',
'4' => 'сдача в аренду',
'5' => 'обмен'
),
'operation_doing' => array(
'1' => 'Продам',
'2' => 'Куплю',
'3' => 'Сниму',
'4' => 'Сдам',
'5' => 'Обменяю'
),
'bathroom' => array(
'0' => 'раздельный',
'1' => 'совместный'
),
'house_type' => array(
'1' => 'панельный',
'2' => 'кирпичный',
'3' => 'монолитный',
'4' => 'панель-кирпич',
'5' => 'монолит-кирпич',
'6' => 'панель-монолит',
'7' => 'другой'
),
'serial_type' => array(
'1' => 'хрущевка',
'2' => 'брежневка',
'3' => 'улучшенная планировка',
'4' => 'другая'
),
'finish' => array(
'1' => 'без отделки',
'2' => 'частичная отделка',
'3' => 'строительная отделка',
'4' => 'черновая отделка',
'5' => 'без ремонта',
'6' => 'ремонт',
'7' => 'евроремонт'
),
'construction_stage' => array(
'1' => 'площадка',
'2' => 'возведение',
'3' => 'сдан ГК'
),
'room' => array(
'1' => 'одна',
'2' => 'две',
'3' => 'три',
'4' => 'четыре',
'5' => 'больше четырех'
),
'room_title' => array(
'1' => '1',
'2' => '2',
'3' => '3',
'4' => '4',
'5' => 'много'
),
'options' => array(
'intercom' => 'домофон',
'furniture' => 'мебель',
'phone' => 'телефон',
'signaling' => 'сигнализация',
'mortgage' => 'ипотека',
'ell' => 'гараж',
'heated' => 'отопление',
'balcony' => 'балкон'
),
'appointment' => array(
'1' => 'застройка',
'2' => 'торговля',
'3' => 'промышленность'
)
);
$realty_types = array(
'living_flat' => array(
'filter_low' => 1,
'filter_high'=> 100000000,
'filter_low_sell_rbm' => 1000,
'filter_high_sell_rbm'=> 200000,
'filter_low_sell_rur' => 1000000,
'filter_high_sell_rur'=> 50000000,
'filter_low_arenda_rbm' => 50,
'filter_high_arenda_rbm'=> 1000,
'filter_low_arenda_rur' => 3000,
'filter_high_arenda_rur'=> 50000,
'0' => array_merge($redistricts,array(
'title' => '1-комнатная',
'where'=>"AND rm.room='1'")
),
'1' => array_merge($redistricts,array(
'title' => '2-комнатная',
'where'=>"AND rm.room='2'")
),
'2' => array_merge($redistricts,array(
'title' => '3-комнатная',
'where'=>"AND rm.room='3'")
),
'3' => array_merge($redistricts,array(
'title' => '4-комнатная',
'where'=>"AND rm.room='4'")
),
'4' => array_merge($redistricts,array(
'title' => 'многокомнатная',
'where'=>"AND rm.room='5'")
)
),
'living_land' => array(
'filter_low' => 1,
'filter_high'=> 100000000,
'filter_low_sell_rbm' => 1000,
'filter_high_sell_rbm'=> 200000,
'filter_low_sell_rur' => 1000,
'filter_high_sell_rur'=> 100000000,
'filter_low_arenda_rbm' => 50,
'filter_high_arenda_rbm'=> 2000,
'filter_low_arenda_rur' => 1000,
'filter_high_arenda_rur'=> 10000000,
'0' => array(
'title' => '1 - 100 кв.м',
'where'=>"AND (rmc.square BETWEEN '1' AND '100')"
),
'1' => array(
'title' => '100 кв.м - 1 га',
'where'=>"AND (rmc.square BETWEEN '100' AND '10000')"
),
'2' => array(
'title' => '1 га - 10 га',
'where'=>"AND (rmc.square BETWEEN '10000' AND '100000')"
),
'3' => array(
'title' => 'более 10 га',
'where'=>"AND rmc.square > '100000'"
),
),
'living_room' => array_merge($redistricts,array(
'filter_low' => 1,
'filter_high'=> 100000000,
'filter_low_sell_rbm' => 1000,
'filter_high_sell_rbm'=> 200000,
'filter_low_sell_rur' => 10000,
'filter_high_sell_rur'=> 1000000,
'filter_low_arenda_rbm' => 50,
'filter_high_arenda_rbm'=> 1000,
'filter_low_arenda_rur' => 500,
'filter_high_arenda_rur'=> 10000)
),
'living_houses' => array_merge($recities,array(
'filter_low' => 1,
'filter_high'=> 100000000,
'filter_low_sell_rbm' => 1000,
'filter_high_sell_rbm'=> 200000,
'filter_low_sell_rur' => 500000,
'filter_high_sell_rur'=> 50000000,
'filter_low_arenda_rbm' => 50,
'filter_high_arenda_rbm'=> 1000,
'filter_low_arenda_rur' => 1000,
'filter_high_arenda_rur'=> 100000)
),
);
//print_var($realty_types);
?>
realty_search_data.inc.php нет пробелов нетrealty_searc h_data.inc.php в студию)
кстати что там за пробел в названии?
Warning: require(/var/www/sword/data/www/serponline.rustrek.ru/modules/mod.php) [function.require]: failed to open stream: No such file or directory in /var/www/sword/data/www/serponline.rustrek.ru/index.php on line 147
Fatal error: require() [function.require]: Failed opening required '/var/www/sword/data/www/serponline.rustrek.ru/modules/mod.php' (include_path='/var/www/sword/data/www/serponline.rustrek.ru/') in /var/www/sword/data/www/serponline.rustrek.ru/index.php on line 147
Warning: require(/home/serponline/www//modules//.mod.php) [function.require]: failed to open stream: No such file or directory in Z:\home\serponline\www\index.php on line 147
Fatal error: require() [function.require]: Failed opening required '/home/serponline/www//modules//.mod.php' (include_path='/home/serponline/www/') in Z:\home\serponline\www\index.php on line 147
Warning: include_once(config.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/c/caddyforru/tatopen/public_html/index.php on line 16
Warning: include_once() [function.include]: Failed opening 'config.inc.php' for inclusion (include_path='.:/opt/php5/lib/php:/opt/php5/lib/ZendFramework/library') in /home/c/caddyforru/tatopen/public_html/index.php on line 16
Warning: include_once() [function.include-once]: Filename cannot be empty in /home/c/caddyforru/tatopen/public_html/index.php on line 17
Warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/opt/php5/lib/php:/opt/php5/lib/ZendFramework/library') in /home/c/caddyforru/tatopen/public_html/index.php on line 17
Warning: include_once() [function.include-once]: Filename cannot be empty in /home/c/caddyforru/tatopen/public_html/index.php on line 18
Warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/opt/php5/lib/php:/opt/php5/lib/ZendFramework/library') in /home/c/caddyforru/tatopen/public_html/index.php on line 18
Fatal error: Call to undefined function init_smarty() in /home/c/caddyforru/tatopen/public_html/index.php on line 22
Тоже ни как не могу поставить выдает вот такое
как с этим бороться подскажите плиз