8 (800) 700-51-27
ежедневно с 9.00 до 21.00, звонок по РФ бесплатный
(0) товаров | 0 руб.
Оформить заказ
Каталог товаров
Подписаться на новостную рассылку можно здесь:
Num SQL queries:21
Num fetched rows:60
including array rows:48
Time of script run:0.051013946533203
Time of SQL queries:0.030355930328369
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.00053596496582031

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

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

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

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

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

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

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 3Run time:Time of run:0.00065803527832031

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

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

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

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

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

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

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

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

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

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

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

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

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