8 (800) 700-51-27
ежедневно с 9.00 до 21.00, звонок по РФ бесплатный
(0) товаров | 0 руб.
Оформить заказ
Каталог товаров
Подписаться на новостную рассылку можно здесь:
Num SQL queries:21
Num fetched rows:58
including array rows:46
Time of script run:0.035154104232788
Time of SQL queries:0.013585567474365
Timers out:

SELECT id_city,path,name,ishop_id,ishop_name,kladr_id FROM leo_city WHERE path='moskow'; # Num rows 1Run time:Time of run:0.00021600723266602

SELECT * FROM leo_ip WHERE IP='127.0.0.1' # Num rows 1Run time:Time of run:0.00037193298339844

SELECT index_id,title,domen FROM leonardo.leo_index WHERE parent_index_id=0 AND alias LIKE 'shop' LIMIT 1; # Num rows 1Run time:Time of run:0.00037789344787598

SELECT title,template_id,content,domen,index_id FROM leonardo.leo_index WHERE index_id=15; # Num rows 1Run time:Time of run:0.00037693977355957

SELECT html FROM leonardo.leo_template WHERE template_id=19 # Num rows 1Run time:Time of run:0.00081491470336914

SELECT COUNT(*) FROM leo_shops WHERE work=1 # Num rows 1Run time:Time of run:0.0013988018035889

SELECT t1.* FROM leo_city AS t1,leo_shops AS t2 WHERE t2.work=1 AND t2.id_city=t1.id_city GROUP BY id_city # Num rows 36Run time:Time of run:0.00037217140197754

SELECT t1.* FROM leo_city AS t1 LEFT JOIN leo_shops AS t3 ON t1.id_city=t3.id_city AND t3.work=0 WHERE t3.id_city IS NOT NULL GROUP BY t1.id_city # Num rows 2Run time:Time of run:9.608268737793E-5

SELECT t1.* FROM leo_city AS t1,leo_shops AS t2 WHERE t2.work=1 AND t2.id_city=t1.id_city GROUP BY id_city ORDER BY t1.name # Num rows 36Run time:Time of run:0.00013899803161621

SELECT COUNT(*) FROM leo_shops WHERE work=1 # Num rows 1Run time:Time of run:0.00056982040405273

SELECT menu,parent_index_id,alias FROM leonardo.leo_index WHERE index_id=15 # Num rows 1Run time:Time of run:0.0018100738525391

SELECT title,alias FROM leonardo.leo_index WHERE parent_index_id=15 AND visible=1 AND menu=4 ORDER BY order_id # Num rows 0Run time:Time of run:0.0013680458068848

SELECT id,name,preview,path,sum_likes, showdate FROM leo_news WHERE visible=1 ORDER BY showdate DESC LIMIT 4 # Num rows 4Run time:Time of run:0.00011086463928223

SELECT * FROM advert_places WHERE adv_place_path="topinfo" # Num rows 1Run time:Time of run:0.00056910514831543

SELECT * FROM advert_adverting WHERE adv_place_id=1 AND adv_adv_active=1 AND adv_starttimeNOW() ORDER BY adv_adv_id; # Num rows 2Run time:Time of run:0.0011739730834961

SELECT * from advert_banners AS t1,advert_sizes AS t2 WHERE t1.adv_ban_id=2 AND t1.adv_size_id=t2.adv_size_id # Num rows 1Run time:Time of run:0.0001060962677002

UPDATE advert_adverting SET adv_count_shows=adv_count_shows+1 WHERE adv_adv_id=1 # Num rows 1Run time:Time of run:0.0017480850219727

SELECT id FROM leo_shops WHERE work=1; # Num rows 78Run time:Time of run:0.00012779235839844

SELECT t2.id_city FROM leo_shops AS t1 LEFT JOIN leo_city AS t2 ON t1.id_city=t2.id_city WHERE t1.work=1 GROUP BY t2.id_city # Num rows 36Run time:Time of run:0.00042986869812012

SELECT * FROM advert_places WHERE adv_place_path="bottominfo" # Num rows 1Run time:Time of run:0.00094795227050781

SELECT * FROM advert_adverting WHERE adv_place_id=4 AND adv_adv_active=1 AND adv_starttimeNOW() ORDER BY adv_adv_id; # Num rows 0Run time:Time of run:0.00033807754516602