|
0 | SELECT `ws_visits`.* FROM `ws_visits` WHERE (`ws_visits`.`hash_id` = '3a9e7059125ed9be09aa66bad310470c') LIMIT 1; |
1 | SELECT `cities`.*, ST_AsText(`cities`.location) AS `location` FROM `cities` WHERE (`cities`.`seo_link` = 'moscow') LIMIT 1; |
2 | SELECT `estate_ad`.* FROM `estate_ad` WHERE (`estate_ad`.`id` = '40974'); |
3 | SELECT `streets`.* FROM `streets` WHERE (`streets`.`id` = '176612'); |
4 | SELECT country_id FROM country_polygons WHERE St_Contains(polygon, POINT(-83.0061, 39.9625)) LIMIT 1; |
5 | SELECT city_id FROM city_polygons WHERE St_Contains(polygon, POINT(-83.0061, 39.9625)) LIMIT 1; |
6 | SELECT city_id FROM cities WHERE country_id = 75 AND ( name = "Колумбус" OR name_en = "Columbus"); |
7 | UPDATE estate_ad SET visits = (visits + 1) WHERE id = 40974; |
8 | SELECT id FROM estate_ad_visit_days WHERE ad_id = 40974 AND yearmonthday = 20250512; |
9 | UPDATE estate_ad_visit_days SET visits = (visits + 1), roomer = (roomer + 0) WHERE id = 62073668; |
10 | SELECT id FROM estate_ad_visit_month WHERE ad_id = 40974 AND yearmonth = 202505; |
11 | UPDATE estate_ad_visit_month SET visits = (visits + 1), roomer = (roomer + 0) WHERE id = 3391320; |
12 | SELECT `estate_ad_visit`.* FROM `estate_ad_visit` WHERE (`estate_ad_visit`.`session_id` = '31ioqrue5s8bc6gfjdsetvafj7') AND (`estate_ad_visit`.`roomer` = 0) AND (utime >= "2025-05-12 19:38:57") ORDER BY `utime` DESC LIMIT 1; |
13 | SELECT `cities`.*, ST_AsText(`cities`.location) AS `location` FROM `cities` WHERE (`cities`.`pay` = 1) ORDER BY `sequence` DESC, `name` ASC; |
14 | INSERT INTO `estate_ad_visit` SET `ad_id` = 40974, `session_id` = '31ioqrue5s8bc6gfjdsetvafj7', `ctime` = '2025-05-12 20:08:58', `utime` = '2025-05-12 20:08:58', `paid_ad` = 1, `city_id` = 5973, `country_id` = 75, `ip` = '3.135.236.134', `user_agent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', `c` = 1, `year` = 2025, `yearmonth` = 202505, `yearmonthday` = 20250512, `ad_city_id` = 166, `owner_id` = 111992; |
15 | SELECT * FROM ws_customers WHERE id = 111992; |
16 | SELECT * FROM estate_media WHERE ad_id = 40974 AND `type` = "image" ORDER BY sequence ASC LIMIT 1; |
17 | SELECT * FROM estate_ad_calendar WHERE actual = 1 AND ad_id = 40974; |
18 | SELECT * FROM districts WHERE id = 271; |
19 | SELECT * FROM micro_districts WHERE id = 14434; |
20 | SELECT `streets`.* FROM `streets` WHERE (`streets`.`id` = '176612') LIMIT 1; |
21 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
22 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
23 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
24 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
25 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
26 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
27 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
28 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
29 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
30 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
31 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
32 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
33 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
34 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
35 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
36 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
37 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
38 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
39 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Очистить все даты') LIMIT 1; |
40 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Карта') LIMIT 1; |
41 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Хозяин') LIMIT 1; |
42 | SELECT *, CASE WHEN `type` = "image" THEN 1 WHEN `type` = "video"
THEN 2 WHEN vcode IS NOT NULL AND vcode <> "" then 3 END as ordered
FROM estate_media WHERE ad_id = 40974
AND IF(`type` = "image", IF (small IS NULL OR small = "", false, true), true)
ORDER BY ordered ASC, sequence ASC; |
43 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Посмотреть все') LIMIT 1; |
44 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'фото') LIMIT 1; |
45 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'квартира посуточно') LIMIT 1; |
46 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Владелец квартиры') LIMIT 1; |
47 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Время ответа') LIMIT 1; |
48 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'удобства') LIMIT 1; |
49 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'после') LIMIT 1; |
50 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Залог') LIMIT 1; |
51 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Условия отмены брони') LIMIT 1; |
52 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Животные') LIMIT 1; |
53 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Курение') LIMIT 1; |
54 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Вечеринки') LIMIT 1; |
55 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Документы') LIMIT 1; |
56 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Условия заезда и выезда') LIMIT 1; |
57 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Отзывы') LIMIT 1; |
58 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Ответ принят и будет опубликован после модерации') LIMIT 1; |
59 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Пока никто не оставлял отзывов.') LIMIT 1; |
60 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Месторасположение') LIMIT 1; |
61 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Увеличить карту') LIMIT 1; |
62 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Уменьшить карту') LIMIT 1; |
63 | SELECT DISTINCT ad_id FROM n2n_estate_ad_recent WHERE session_id = "31ioqrue5s8bc6gfjdsetvafj7" ORDER BY ctime DESC; |
64 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Запросы на бронирование') LIMIT 1; |
65 | SELECT `ws_translations`.* FROM `ws_translations` WHERE (`ws_translations`.`name` = 'Новые сообщения') LIMIT 1; |
Social networks