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.032719850540161
Time of SQL queries:0.010113954544067
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.0001380443572998

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

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.00041699409484863

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

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

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

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.0009160041809082

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:0.00032496452331543

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.00043797492980957

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

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

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.00071287155151367

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.00038599967956543

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

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.00066590309143066

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.00076198577880859

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

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

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.000823974609375

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

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.00039982795715332