Орла
Области
Компаний
Пользователи
Галерея
Фиксированные новости
Орла
Отзывы о фирмах
Тарифы
Пользователи
Области
Банкоматы
Торговые точки
Доска объявлений
Курсы валют
Скидки
организации Орла
организации области
товары
сайты
сайты Орел
Данные
Разделы
Поиск
Поиск запросы
Статистика
Показы каталога организаций
Статистика клиенты
Пользователи
Сайты
Управление сайтом
Анкета
Аптеки
Афиша
Афиша новая
Баннеры
Бизнес >
Викторина
Голосование
Гость на сайте
Истории
Календарь событий
Каталоги >
Конкурс красоты
Конкурс аудио
Консультации
Меню
Новое на сайте
Новости >
Организации >
Программа ТВ
Публикации
Разделы сайта
Рассылка
Рестораны
Секрет фирмы >
Сервисы >
Ссылки
Тесты
Файловый менеджер
Форум
Фотогалерея
Обратная связь
Недвижимость
Новый год
Тексты
Пользователи
Юридический рейтинг
Отзывы на товары
Бан пользователей
Жалобы
Новые тесты
Коронавирус
Файловый менеджер
Имя файла
pass.php
Содержимое
<?php require_once('top_realty.php'); $parent_id = 27; (!isset($_GET['cat_id'])) ? $_GET['cat_id'] = 18 : $_GET['cat_id'] = (int) $_GET['cat_id']; $cat_part_one = sqlval("select * from directory where id='{$parent_id}'"); $cat_part_two = sqlval("select * from directory where id='{$_GET['cat_id']}'"); if ($cat_part_one['name'] != '') { $title_elem[] = $cat_part_one['name']; } if ($cat_part_two['name'] != '') { $title_elem[] = $cat_part_two['name']; } $title_elem[] = $name_gorod; $title=implode(' :: ', $title_elem); $description=implode(' :: ', $title_elem); $keywords=implode(' :: ', $title_elem); require($base_url."inc/top.inc"); require("menu.inc.php"); $query = "select SQL_CALC_FOUND_ROWS * from realty where object_type_id='{$_GET['cat_id']}' and status='3' and deal_type_id='{$parent_id}' and CURDATE() <= data_end"; if ( $_GET['search'] == 1) { if ( $_GET['region_id'] != '') { $_GET['region_id'] = (int) $_GET['region_id']; $region_ids[] = $_GET['region_id']; $result_ids = fetchAll("select id from directory where parent_id='{$_GET['region_id']}'"); foreach ( $result_ids as $id ) $region_ids[] = $id['id']; $query .= " and region_id in (".implode(',', $region_ids).")"; } if ( $_GET['price_type'] != '') { $_GET['price_type'] = (int) $_GET['price_type']; $query .= " and price_type={$_GET['price_type']}"; } if ( $_GET['deal_type_id'] != '') { $_GET['deal_type_id'] = (int) $_GET['deal_type_id']; $query .= " and deal_type_id={$_GET['deal_type_id']}"; } if ( $_GET['cat_id'] != '') { $_GET['cat_id'] = (int) $_GET['cat_id']; $query .= " and object_type_id={$_GET['cat_id']}"; } if ( $_GET['home_type_id'] != '') { $_GET['home_type_id'] = (int) $_GET['home_type_id']; $query .= " and home_type_id={$_GET['home_type_id']}"; } if ( $_GET['business_type'] != '') { $_GET['business_type'] = (int) $_GET['business_type']; $query .= " and business_type_id={$_GET['business_type']}"; } if ( $_GET['com_type'] != '') { $_GET['com_type'] = (int) $_GET['com_type']; $query .= " and com_type_id={$_GET['com_type']}"; } if ( is_array($_GET['room_count'])) { $query .= " and (room_count in (".implode(',', $_GET['room_count']).") )"; } if ( $_GET['price_from'] != '' && $_GET['price_to'] != '') { $_GET['price_from'] = (float) $_GET['price_from']; $_GET['price_to'] = (float) $_GET['price_to']; $query .= " and (price between '{$_GET['price_from']}' and '{$_GET['price_to']}')"; } elseif ($_GET['price_from']!='') { $_GET['price_from'] = (float) $_GET['price_from']; $query .= " and price>'{$_GET['price_from']}'"; } elseif ($_GET['price_to']!='') { $_GET['price_to'] = (float) $_GET['price_to']; $query .= " and price<'{$_GET['price_to']}'"; } if ( $_GET['square_from'] != '' && $_GET['square_to'] != '') { $_GET['square_from'] = (float) $_GET['square_from']; $_GET['square_to'] = (float) $_GET['square_to']; $query .= " and (square between '{$_GET['square_from']}' and '{$_GET['square_to']}')"; } elseif ($_GET['square_from']!='') { $_GET['square_from'] = (float) $_GET['square_from']; $query .= " and square>'{$_GET['square_from']}'"; } elseif ($_GET['square_to']!='') { $_GET['square_to'] = (float) $_GET['square_to']; $query .= " and square<'{$_GET['square_to']}'"; } if ( $_GET['square_all_from'] != '' && $_GET['square_all_to'] != '') { $_GET['square_all_from'] = (float) $_GET['square_all_from']; $_GET['square_all_to'] = (float) $_GET['square_all_to']; $query .= " and (square_all between '{$_GET['square_all_from']}' and '{$_GET['square_all_to']}')"; }elseif ($_GET['square_all_from']!='') { $_GET['square_all_from'] = (float) $_GET['square_all_from']; $query .= " and square_all>'{$_GET['square_all_from']}'"; } elseif ($_GET['square_all_to']!='') { $_GET['square_all_to'] = (float) $_GET['square_all_to']; $query .= " and square_all<'{$_GET['square_all_to']}'"; } if ( $_GET['floor_from'] != '' && $_GET['floor_to'] != '') { $_GET['floor_from'] = (int) $_GET['square_all_from']; $_GET['floor_to'] = (int) $_GET['floor_to']; $query .= " and (floor between '{$_GET['floor_from']}' and '{$_GET['floor_to']}')"; }elseif ($_GET['floor_from']!='') { $_GET['floor_from'] = (int) $_GET['floor_from']; $query .= " and floor>'{$_GET['floor_from']}'"; } elseif ($_GET['floor_to']!='') { $_GET['floor_to'] = (int) $_GET['floor_to']; $query .= " and floor<'{$_GET['floor_to']}'"; } if ($_GET['photo'] == 1) { $query .= " and photo_count > 0"; } } $uri = explode("&", $_SERVER['QUERY_STRING']); foreach ( $uri as $key => $param ) { if ( preg_match("/^sort=[A-z0-9_]+\.(asc|desc)+$/", $param) ) { unset($uri[$key]); } } if ( $_GET['sort'] == 'cost.asc') { $order = ',price asc'; $sort_price_uri = implode('&',array_merge($uri, array('sort=cost.desc'))); $sort_date_uri = implode('&',array_merge($uri, array('sort=date.desc'))); $class_price = 'class="sort-top"'; }elseif ( $_GET['sort'] == 'cost.desc') { $order = ',price desc'; $sort_price_uri = implode('&',array_merge($uri, array('sort=cost.asc'))); $sort_date_uri = implode('&',array_merge($uri, array('sort=date.desc'))); $class_price = 'class="sort-bottom"'; }elseif ( $_GET['sort'] == 'date.asc') { $order = ',data asc'; $sort_price_uri = implode('&',array_merge($uri, array('sort=cost.desc'))); $sort_date_uri = implode('&',array_merge($uri, array('sort=date.desc'))); $class_date = 'class="sort-top"'; }elseif ( $_GET['sort'] == 'date.desc') { $order = ',data desc'; $sort_price_uri = implode('&',array_merge($uri, array('sort=cost.desc'))); $sort_date_uri = implode('&',array_merge($uri, array('sort=date.asc'))); $class_date = 'class="sort-bottom"'; } else { $order .= ",data desc"; $sort_price_uri = implode('&',array_merge($uri, array('sort=cost.desc'))); $sort_date_uri = implode('&',array_merge($uri, array('sort=date.asc'))); $class_date = 'class="sort-bottom"'; } if($_GET['sort']==''){ $query .= ' order by data desc';} else{ $query .= ' order by'.str_replace(',',' ',$order);} if ($pap > 0) { if ( !isset( $_REQUEST['page']) ) $_REQUEST['page'] = 1; $start = ( $_REQUEST['page'] - 1 ) * $pap; $query .= " limit {$start}, {$pap}"; } $data = fetchAll($query); $kol = sqlval("select FOUND_ROWS()"); foreach ($data as &$item) if ($item['photo_count'] > 0) $item['photo'] = fetchAll("select * from realty_photo where realty_id='{$item['id']}' order by rand() limit 1"); ?> <div class="NewsIn"> <table cellpadding="0" cellspacing="0" class="TableColl"> <tr> <td class="AllNews"> <?php require_once('section.inc.php'); ?><br /> <?php require_once('top_realty.inc.php'); ?> </td> <td class="AllText"> <?php $rs_count = sqlval("select count(*) from realty t1 where status='3' and CURDATE() <= data_end"); ?> <div style="float:right; font-size:80%; line-height:16px">Всего объявлений: <?php echo $rs_count[0]; ?></div> <?php if ( count($data) || $_GET['search'] == 1) : ?> <h2 class="Ots1">Поиск</h2> <?php require_once("search.inc.php"); ?> <?php $smarty->assign("db_data", $data); $smarty->assign("prices_array", $prices); $smarty->assign("admin", $admlist[$login]); $smarty->assign("id_user_sess", $id_user_sess); $smarty->assign("region_array", $region_array_smarty); $smarty->display('realty_template.tpl'); $smarty->clear_all_assign(); if ( $kol[0] > $pap ) { PaginationHelper::display( $kol[0], $pap ); } ?> <?php else: ?> <h2 class="Ots1">Нет данных</h2> <?php endif; ?> </td> </tr> </table><br></div> <div class="Padtop"> <div class="corner2 bl2 cbl" ></div> <div class="corner2 br2 cbr"></div> </div> <div class="BordTop"> <div class="corner2 tl ctl" ></div> <div class="corner2 tr ctr" ></div> </div> <div class="Title"> <h1><a href="<?php echo $_SERVER['PHP_SELF']; ?>">НЕДВИЖИМОСТЬ В <?php echo strtoupper($name_gorod3); ?></a></h1> </div> <div class="NewsIn"><table cellpadding="0" cellspacing="0" class="TableColl"> <tr><td class="AllText"> <?php if ( $_SERVER['QUERY_STRING'] == '' ) { } if($_SERVER['QUERY_STRING'] == 'cat_id=18'){ echo_seo_text(5); } if($_SERVER['QUERY_STRING'] == 'cat_id=21'){ echo_seo_text(7); } ?> <?php require_once "bottom_realty.inc.php"; require($base_url."inc/bottom.inc"); ?>
/realty2/
Имя
Дата
Размер
..
2026-10-02
images
2016-04-11
.htaccess
2016-04-11
158 байт
_my_reklama.php
2016-04-11
13 кб.
add_anti_spam_form.php
2016-04-11
675 байт
add_floor.inc.php
2016-04-11
752 байт
add_house.inc.php
2016-04-11
316 байт
add_land_area.inc.php
2016-04-11
248 байт
add_note.inc.php
2016-04-11
199 байт
add_place.inc.php
2016-04-11
5 кб.
add_price_all.inc.php
2016-04-11
578 байт
add_price_all_m.inc.php
2016-04-11
528 байт
add_price_month.inc.php
2016-04-11
361 байт
add_realty.php
2016-04-11
12 кб.
add_realty_business.php
2016-04-11
4 кб.
add_realty_business_buy.php
2016-04-11
3 кб.
add_realty_business_sale.php
2016-04-11
3 кб.
add_realty_commerce.php
2016-04-11
2 кб.
add_realty_commerce_buy.php
2016-04-11
3 кб.
add_realty_commerce_pass.php
2016-04-11
3 кб.
add_realty_commerce_rent.php
2016-04-11
3 кб.
add_realty_commerce_sale.php
2016-04-11
3 кб.
add_realty_garage.php
2016-04-11
2 кб.
add_realty_garage_buy.php
2016-04-11
3 кб.
add_realty_garage_pass.php
2016-04-11
3 кб.
add_realty_garage_rent.php
2016-04-11
3 кб.
add_realty_garage_sale.php
2016-04-11
2 кб.
add_realty_house.php
2016-04-11
2 кб.
add_realty_house_buy.php
2016-04-11
3 кб.
add_realty_house_pass.php
2016-04-11
3 кб.
add_realty_house_rent.php
2016-04-11
3 кб.
add_realty_house_sale.php
2016-04-11
3 кб.
add_realty_land.php
2016-04-11
2 кб.
add_realty_land_buy.php
2016-04-11
3 кб.
add_realty_land_pass.php
2016-04-11
3 кб.
add_realty_land_rent.php
2016-04-11
3 кб.
add_realty_land_sale.php
2016-04-11
3 кб.
add_realty_new_buy.php
2016-04-11
3 кб.
add_realty_new_sale.php
2016-04-11
3 кб.
add_realty_room_buy.php
2016-04-11
3 кб.
add_realty_room_pass.php
2016-04-11
3 кб.
add_realty_room_rent.php
2016-04-11
3 кб.
add_realty_room_sale.php
2016-04-11
3 кб.
add_realty_rooms.php
2016-04-11
2 кб.
add_realty_vtor_buy.php
2016-04-11
3 кб.
add_realty_vtor_pass.php
2016-04-11
3 кб.
add_realty_vtor_rent.php
2016-04-11
3 кб.
add_realty_vtor_sale.php
2016-04-11
3 кб.
add_room.inc.php
2016-04-11
452 байт
add_time.inc.php
2016-04-11
3 кб.
add_total_area.inc.php
2016-04-11
617 байт
add_total_area_house.inc
2016-04-11
238 байт
add_total_area_house.inc.php
2016-04-11
237 байт
add_type_biz.inc.php
2016-04-11
300 байт
add_type_com.inc.php
2016-04-11
304 байт
bottom_realty.inc
2016-04-11
1 кб.
bottom_realty.inc.php
2016-04-11
1007 байт
buy.php
2016-04-11
9 кб.
clean_realty.php
2016-04-11
1 кб.
config.realty.inc.php
2016-04-11
4 кб.
delete.php
2016-04-11
2 кб.
draw_num.php
2016-04-11
1 кб.
edit.php
2016-04-11
463 байт
form_footer.inc.php
2016-04-11
7 байт
form_header.inc.php
2016-04-11
2 кб.
index.php
2016-04-11
10 кб.
menu.inc.php
2016-04-11
4 кб.
menu_main.inc.php
2016-04-11
4 кб.
my_reklama.php
2016-04-11
13 кб.
my_reklama_fazenda.php
2016-04-11
12 кб.
my_reklama_garage.php
2016-04-11
10 кб.
my_reklama_houses.php
2016-04-11
14 кб.
my_reklama_rooms.php
2016-04-11
12 кб.
my_reklama_sn.php
2016-04-11
14 кб.
partial_agency_form.php
2016-04-11
0 байт
partial_user_form.php
2016-04-11
590 байт
pass.php
2016-04-11
9 кб.
realty_echo.php
2016-04-11
7 кб.
realty_echo1.php
2016-04-11
7 кб.
realty_exp_yandex.php
2016-04-11
3 кб.
realty_my.php
2016-04-11
3 кб.
realty_sql.php
2016-04-11
11 кб.
rent.php
2016-04-11
9 кб.
sale.php
2016-04-11
9 кб.
script.js
2016-04-11
4 кб.
search.inc.php
2016-04-11
1 кб.
search_realty.php
2016-04-11
11 кб.
search_realty_business_buy.php
2016-04-11
4 кб.
search_realty_business_sale.php
2016-04-11
4 кб.
search_realty_commerce_buy.php
2016-04-11
5 кб.
search_realty_commerce_pass.php
2016-04-11
4 кб.
search_realty_commerce_rent.php
2016-04-11
4 кб.
search_realty_commerce_sale.php
2016-04-11
4 кб.
search_realty_garage_buy.php
2016-04-11
4 кб.
search_realty_garage_pass.php
2016-04-11
4 кб.
search_realty_garage_rent.php
2016-04-11
4 кб.
search_realty_garage_sale.php
2016-04-11
4 кб.
search_realty_house_buy.php
2016-04-11
6 кб.
search_realty_house_pass.php
2016-04-11
5 кб.
search_realty_house_rent.php
2016-04-11
5 кб.
search_realty_house_sale.php
2016-04-11
6 кб.
search_realty_land_buy.php
2016-04-11
4 кб.
search_realty_land_pass.php
2016-04-11
4 кб.
search_realty_land_rent.php
2016-04-11
4 кб.
search_realty_land_sale.php
2016-04-11
4 кб.
search_realty_new_buy.php
2016-04-11
6 кб.
search_realty_new_sale.php
2016-04-11
6 кб.
search_realty_room_buy.php
2016-04-11
6 кб.
search_realty_room_pass.php
2016-04-11
6 кб.
search_realty_room_rent.php
2016-04-11
6 кб.
search_realty_room_sale.php
2016-04-11
6 кб.
search_realty_vtor_buy.php
2016-04-11
6 кб.
search_realty_vtor_pass.php
2016-04-11
6 кб.
search_realty_vtor_rent.php
2016-04-11
6 кб.
search_realty_vtor_sale.php
2016-04-11
6 кб.
section.inc.php
2016-04-11
1 кб.
section_main.inc.php
2016-04-11
1 кб.
section_my.inc.php
2016-04-11
1 кб.
street_helper.php
2016-04-11
503 байт
template_realty.php
2016-04-11
8 кб.
top_realty.inc.php
2016-04-11
737 байт
top_realty.php
2016-04-11
149 байт
/realty2
Загрузить файлы
Файл 1
Файл 2
Файл 3