This event has completed. This information has been preserved for archival purposes.
League

Gastonia Slowpitch

Season: Spring 2024 (Other Seasons)
Sport: Softball
CoedSocialDraft
Event Director
Venue
George Poston Park
Gastonia, NC
Day of the Week
WED
This event has completed. This information has been preserved for archival purposes.

Deprecated: Automatic conversion of false to array is deprecated in /home/leaguejo_dev/public_html/templates/lj/modules/league/hall-of-fame.php on line 27

Spring 2024 - Final Results

Fall 2023 - Final Results

Summer 2023 - Final Results

79 203
PEAK MEMORY: 9.47 MiB
MEMORY USAGE AFTER: 7.85 MiB

Debug Information


Request Variables

var = league

varb = gastonia-slowpitch

varc = spring-24-coed

vard = hall-of-fame

vara =

vare =

view_var = league

view_varb = gastonia-slowpitch

view_varc = spring-24-coed

view_vard = hall-of-fame

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: cdc681d5cf486e36b2073dce78a227ae

Login Type:

BASE:: league

FULL LINK:: league/gastonia-slowpitch/spring-24-coed/hall-of-fame

Page ID: 27

Page ID:: 27

Page Template:: lj

Template Layout:: default

Headers: : Loading page header code

Active Blocks: Array ( [0] => [1] => [2] => 1 [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Block Types: Array ( [0] => [1] => [2] => Array ( [0] => module ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Element ID: Array ( [0] => [1] => [2] => Array ( [0] => 10 ) [3] => [4] => [5] => [6] => [7] => [8] => [9] => [10] => )

Admin Login Level: :

Footer: : Loading page footer code


Session Variables

securetoken = cdc681d5cf486e36b2073dce78a227ae
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/gastonia-slowpitch/spring-24-coed/hall-of-fame/
QUERY_STRING = var=league&varb=gastonia-slowpitch&varc=spring-24-coed&vard=hall-of-fame
REQUEST_METHOD = GET
SERVER_PROTOCOL = HTTP/1.1
GATEWAY_INTERFACE = CGI/1.1
REDIRECT_QUERY_STRING = var=league&varb=gastonia-slowpitch&varc=spring-24-coed&vard=hall-of-fame
REDIRECT_URL = /league/gastonia-slowpitch/spring-24-coed/hall-of-fame/
REMOTE_PORT = 55832
SCRIPT_FILENAME = /home/leaguejo_dev/public_html/index.php
SERVER_ADMIN = support@aod.net
CONTEXT_DOCUMENT_ROOT = /home/leaguejo_dev/public_html
CONTEXT_PREFIX =
REQUEST_SCHEME = https
DOCUMENT_ROOT = /home/leaguejo_dev/public_html
REMOTE_ADDR = 3.144.255.198
SERVER_PORT = 443
SERVER_ADDR = 162.248.190.150
SERVER_NAME = netstuffersdev1.com
SERVER_SOFTWARE = Apache
SERVER_SIGNATURE =
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST = netstuffersdev1.com
HTTP_REFERER = https://netstuffersdev1.com/league/gastonia-slowpitch/spring-24-coed/hall-of-fame
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_USER_AGENT = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT = */*
proxy-nokeepalive = 1
SSL_TLS_SNI = netstuffersdev1.com
HTTPS = on
SCRIPT_URI = https://netstuffersdev1.com/league/gastonia-slowpitch/spring-24-coed/hall-of-fame/
SCRIPT_URL = /league/gastonia-slowpitch/spring-24-coed/hall-of-fame/
UNIQUE_ID = Z2648lr2U24gX-GqmPSLSAAAABM
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/gastonia-slowpitch/spring-24-coed/hall-of-fame/
REDIRECT_SCRIPT_URL = /league/gastonia-slowpitch/spring-24-coed/hall-of-fame/
REDIRECT_UNIQUE_ID = Z2648lr2U24gX-GqmPSLSAAAABM
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1735309554.7009
REQUEST_TIME = 1735309554


SQL Queries


Total Queries: 361
Total Execution Time: 193.8916ms
Avg Execution Time:0.53709584487535ms

QUERY(1.3561ms) - INSERT INTO security_log (domain,username, log_date, log_time, method, page, ip, address, browser, getvars, postvars, sessionvars,badlogin,userlogin,timestamp) VALUES ('.netstuffersdev1.com','','2024-12-27', '14:25:54', 'GET', '/league/gastonia-slowpitch/spring-24-coed/hall-of-fame/', '3.144.255.198', 'https://netstuffersdev1.com/league/gastonia-slowpitch/spring-24-coed/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd3dvU0R5SnF2dmV1UEZzTTdZbGJxdzl3V2Z1T0pzU1lmS3M0S1UxWU1KSG5qZFlJQmxxcDZMRzFYeVRJK2hoQlMyY2RHeWVERnFkeUFxT0NEWUczemM=','0','','1735309554') ON DUPLICATE KEY UPDATE `ip`=`ip`

QUERY(1.6539ms) - SELECT SQL_CACHE `end_timestamp` FROM `security_locks` WHERE ((`who`='3.144.255.198' && `which`='IP'))

QUERY(0.1431ms) - SELECT SQL_CACHE dest FROM redirects WHERE source = '/league/gastonia-slowpitch/spring-24-coed/hall-of-fame/'

QUERY(0.248ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league/gastonia-slowpitch/spring-24-coed/hall-of-fame' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.2429ms) - SELECT SQL_CACHE `id`,`layout`,`light`,`name`,`pagedisplay` FROM pages WHERE `pagedisplay`='league' ORDER BY `domain`='1' DESC,`domain` ASC

QUERY(0.129ms) - SELECT SQL_CACHE `id`,`layout`,`name`,`pagedisplay`,`customize` FROM `pages` WHERE `id`='27'

QUERY(0.1521ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='userprofiles'

QUERY(0.1409ms) - SELECT * FROM userprofiles_config

QUERY(0.1471ms) - SELECT SQL_CACHE `name` FROM `states` WHERE `abbr`='' LIMIT 0,1

QUERY(0.1571ms) - SELECT SQL_CACHE title,metakeys,metadescript,seomodule,seotitlefield,seodescfield,seotitletable,seodesctable,urllinkfield FROM pages WHERE `id`='27' && `domain`='1'

QUERY(0.1771ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1311ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.5908ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`url` = 'gastonia-slowpitch' LIMIT 0,1

QUERY(0.1371ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5178ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '79' and `league_seasons`.`url` = 'spring-24-coed' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1471ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1421ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=203

QUERY(0.118ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

QUERY(0.16ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=203 LIMIT 0,1

QUERY(0.1609ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=79 && `season_id`=203 LIMIT 0,1

QUERY(0.1938ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=203 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.119ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=203 LIMIT 0,1

QUERY(0.2329ms) - SELECT SQL_CACHE `code` FROM `page_headers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:27:%' || (`global`=1 && `exclude` NOT LIKE '%:27:%') ) ORDER BY `sort` ASC

QUERY(0.1309ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='America/New_York'

QUERY(0.1879ms) - SELECT count(`league_id`) FROM `league_players` WHERE `player_id`=''

QUERY(0.1931ms) - SELECT SQL_CACHE `block_id`,`element_id`,`function_id`,`type` FROM `blocks` WHERE `page_id`='27' ORDER BY `order` ASC

QUERY(0.1991ms) - SELECT `abbr`,`name` FROM `states` WHERE `active`=1 ORDER BY `name` ASC

QUERY(0.1168ms) - select SQL_CACHE codename,classname,scriptname from modules WHERE `id`='10'

QUERY(0.128ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1202ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.2191ms) - SELECT `company`.*,`img_url` FROM `company` INNER JOIN `photo` ON `photo`.`photo_id`=`company`.`logo_onwhite` WHERE `company_id`=1

QUERY(0.1309ms) - SELECT `sport_id` FROM `sports` WHERE `name_url`='gastonia-slowpitch'

QUERY(0.1509ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1128ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1352ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1309ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.1321ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.114ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.1531ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='203' LIMIT 0,1

QUERY(0.1261ms) - SELECT * FROM `league_notices` WHERE `league_id`=79 && `season_id`=203

QUERY(0.138ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='draft'

QUERY(0.0999ms) - SELECT SQL_CACHE * FROM draft_config

QUERY(0.1211ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='league'

QUERY(0.1011ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.144ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='games'

QUERY(0.114ms) - SELECT SQL_CACHE * FROM games_config

QUERY(0.1419ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='triumphs'

QUERY(0.1061ms) - SELECT SQL_CACHE * FROM triumphs_config

QUERY(0.1142ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='challonge'

QUERY(0.1662ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='203'

QUERY(6.2981ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='203') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '203' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1462ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='203'

QUERY(6.4602ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='203') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '203' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.139ms) - SELECT `hof_page` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=203

QUERY(2.198ms) - SELECT DISTINCT(`triumphs_awarded`.`season_id`),`name` FROM `triumphs_awarded` INNER JOIN `league_seasons` ON `triumphs_awarded`.`season_id`=`league_seasons`.`season_id` WHERE `triumphs_awarded`.`league_id`=79 ORDER BY `season_id` DESC

QUERY(0.1249ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=249 LIMIT 0,1

QUERY(0.5102ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '79' LIMIT 0,1

QUERY(0.1471ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5078ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '79' and `league_seasons`.`season_id` = '249' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1421ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1631ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=249

QUERY(0.1528ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

QUERY(0.1481ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=249 LIMIT 0,1

QUERY(0.186ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=79 && `season_id`=249 LIMIT 0,1

QUERY(0.1938ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=249 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2089ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='249' LIMIT 0,1

QUERY(0.1869ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='249' || `season_id`=0)

QUERY(0.195ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='249' || `season_id`=0)

QUERY(0.1729ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='249'

QUERY(2.43ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='249' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.437ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='249' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.4619ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='249' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.221ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='249' ORDER BY `season_id` DESC

QUERY(0.1628ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='249'

QUERY(0.186ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='249'

QUERY(0.2341ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='79'

QUERY(1.6489ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='79'

QUERY(0.144ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=249 LIMIT 0,1

QUERY(0.582ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=249&&`playoff`=1 LIMIT 0,1

QUERY(0.119ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=249 LIMIT 0,1

QUERY(0.3231ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='79' && `league_teams`.`season_id`='249' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.4189ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='249'

QUERY(0.196ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='79' && `league_seasons`.`season_id`='249'

QUERY(0.1471ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=249 LIMIT 0,1

QUERY(0.1109ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=249

QUERY(1.3521ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('79','249',0,0,0,'85','7','21','9','7','57',0,0,'8',0,0,0,'159',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='249',`articles`=0,`participants`=0,`conferences`=0,`players`='85',`coaches`='7',`subs`='21',`rules`='9',`teams`='7',`games`='57',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

QUERY(0.119ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=249 LIMIT 0,1

QUERY(0.1309ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='249'

QUERY(5.708ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='249') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '249' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1268ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1311ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2902ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='1'

QUERY(3.1791ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.145ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2499ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='2'

QUERY(2.5902ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.1512ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2201ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='3'

QUERY(1.281ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.1731ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1941ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='4'

QUERY(0.9379ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.133ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1771ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='5'

QUERY(0.752ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1309ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.17ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='249' && `ranking`='6'

QUERY(0.607ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='249' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.1569ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.144ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=247 LIMIT 0,1

QUERY(0.5279ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '79' LIMIT 0,1

QUERY(0.1631ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5281ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '79' and `league_seasons`.`season_id` = '247' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.154ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1709ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=247

QUERY(0.1199ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

QUERY(0.1659ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=247 LIMIT 0,1

QUERY(0.2091ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=79 && `season_id`=247 LIMIT 0,1

QUERY(0.2182ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=247 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2639ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='247' LIMIT 0,1

QUERY(0.1798ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='247' || `season_id`=0)

QUERY(0.206ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='247' || `season_id`=0)

QUERY(0.18ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='247'

QUERY(0.5209ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='247' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.421ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='247' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.4718ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='247' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2182ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='247' ORDER BY `season_id` DESC

QUERY(0.1671ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='247'

QUERY(0.1631ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='247'

QUERY(0.247ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='79'

QUERY(1.6429ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='79'

QUERY(0.159ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=247 LIMIT 0,1

QUERY(0.4878ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=247&&`playoff`=1 LIMIT 0,1

QUERY(0.1099ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=247 LIMIT 0,1

QUERY(0.3481ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='79' && `league_teams`.`season_id`='247' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.4239ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='247'

QUERY(0.1788ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='79' && `league_seasons`.`season_id`='247'

QUERY(0.1111ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=247 LIMIT 0,1

QUERY(0.1211ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=247

QUERY(1.2579ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('79','247',0,0,0,'38','3','12','9','3','24',0,0,'8',0,0,0,'159',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='247',`articles`=0,`participants`=0,`conferences`=0,`players`='38',`coaches`='3',`subs`='12',`rules`='9',`teams`='3',`games`='24',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

QUERY(0.124ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=247 LIMIT 0,1

QUERY(0.1302ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='247'

QUERY(2.6979ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='247') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '247' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1271ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2611ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='1'

QUERY(3.0332ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.1421ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.236ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='2'

QUERY(2.377ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.1571ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2041ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='3'

QUERY(1.1442ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.1218ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1891ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='4'

QUERY(0.8221ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.1349ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.18ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='5'

QUERY(0.6859ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1359ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1781ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='247' && `ranking`='6'

QUERY(0.592ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='247' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.119ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1121ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=203 LIMIT 0,1

QUERY(0.452ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '79' LIMIT 0,1

QUERY(0.128ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.504ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '79' and `league_seasons`.`season_id` = '203' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1321ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1311ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=203

QUERY(0.1318ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

QUERY(0.1349ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=203 LIMIT 0,1

QUERY(0.1869ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=79 && `season_id`=203 LIMIT 0,1

QUERY(0.2172ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=203 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.129ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=203 LIMIT 0,1

QUERY(0.1328ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='203'

QUERY(6.4681ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='203') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '203' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1259ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.118ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.2749ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='1'

QUERY(3.052ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.14ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.226ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='2'

QUERY(2.295ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.16ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.195ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='3'

QUERY(1.138ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.1409ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.17ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='4'

QUERY(0.7992ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.1378ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1619ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='5'

QUERY(0.7429ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1578ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.165ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='203' && `ranking`='6'

QUERY(0.5641ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='203' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.1609ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.113ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=201 LIMIT 0,1

QUERY(0.5069ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '79' LIMIT 0,1

QUERY(0.129ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.478ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '79' and `league_seasons`.`season_id` = '201' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1299ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1419ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=201

QUERY(0.113ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

QUERY(0.154ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=201 LIMIT 0,1

QUERY(0.1471ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=79 && `season_id`=201 LIMIT 0,1

QUERY(0.19ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=201 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2089ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='201' LIMIT 0,1

QUERY(0.169ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='201' || `season_id`=0)

QUERY(0.1829ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='201' || `season_id`=0)

QUERY(0.1502ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='201'

QUERY(0.6161ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='201' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.406ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='201' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(1.826ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='201' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.226ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='201' ORDER BY `season_id` DESC

QUERY(0.1631ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='201'

QUERY(0.149ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='201'

QUERY(0.2601ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='79'

QUERY(1.621ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='79'

QUERY(0.1571ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=201 LIMIT 0,1

QUERY(0.401ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=201&&`playoff`=1 LIMIT 0,1

QUERY(0.133ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=201 LIMIT 0,1

QUERY(0.3109ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='79' && `league_teams`.`season_id`='201' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.3159ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='201'

QUERY(0.1788ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='79' && `league_seasons`.`season_id`='201'

QUERY(0.1111ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=201 LIMIT 0,1

QUERY(0.1059ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=201

QUERY(0.9561ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('79','201','1',0,0,'49','4','13','9','4','28',0,0,'8',0,'10','1','159',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='201',`articles`='1',`participants`=0,`conferences`=0,`players`='49',`coaches`='4',`subs`='13',`rules`='9',`teams`='4',`games`='28',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`='10',`prizes`='1',`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.1271ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=201 LIMIT 0,1

QUERY(0.119ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='201'

QUERY(3.5031ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='201') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '201' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1318ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.098ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.268ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='1'

QUERY(3.068ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.149ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.246ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='2'

QUERY(2.3358ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.1519ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.19ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='3'

QUERY(1.2259ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.1249ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1729ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='4'

QUERY(0.9401ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.145ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.2ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='5'

QUERY(0.705ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1221ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.196ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='201' && `ranking`='6'

QUERY(0.572ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='201' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.165ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1371ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=156 LIMIT 0,1

QUERY(0.5078ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '79' LIMIT 0,1

QUERY(0.1521ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.519ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '79' and `league_seasons`.`season_id` = '156' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.1402ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1631ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=156

QUERY(0.113ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

QUERY(0.159ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=156 LIMIT 0,1

QUERY(0.174ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=79 && `season_id`=156 LIMIT 0,1

QUERY(0.186ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=156 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2301ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='156' LIMIT 0,1

QUERY(0.195ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='156' || `season_id`=0)

QUERY(0.241ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='156' || `season_id`=0)

QUERY(0.1521ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='156'

QUERY(2.95ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='156' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.4001ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='156' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.1992ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='156' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.2279ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='156' ORDER BY `season_id` DESC

QUERY(0.1512ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='156'

QUERY(0.1731ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='156'

QUERY(0.257ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='79'

QUERY(1.6251ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='79'

QUERY(0.1559ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=156 LIMIT 0,1

QUERY(0.4909ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=156&&`playoff`=1 LIMIT 0,1

QUERY(0.1149ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=156 LIMIT 0,1

QUERY(0.3631ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='79' && `league_teams`.`season_id`='156' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.314ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='156'

QUERY(0.181ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='79' && `league_seasons`.`season_id`='156'

QUERY(0.1099ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=156 LIMIT 0,1

QUERY(0.1111ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=156

QUERY(1.5409ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('79','156',0,0,0,'109','7','12','9','7','49',0,0,'8',0,0,'1','159',0,0,0,0,NOW(),0) ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='156',`articles`=0,`participants`=0,`conferences`=0,`players`='109',`coaches`='7',`subs`='12',`rules`='9',`teams`='7',`games`='49',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`=0,`prizes`='1',`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`=0

QUERY(0.1681ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=156 LIMIT 0,1

QUERY(0.1431ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='156'

QUERY(5.5699ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='156') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '156' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.149ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.149ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.3018ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='1'

QUERY(3.051ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.144ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2589ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='2'

QUERY(2.4791ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.2091ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.211ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='3'

QUERY(1.2071ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.1559ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1881ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='4'

QUERY(0.8569ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.15ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.185ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='5'

QUERY(0.695ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.1369ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.196ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='6'

QUERY(0.5841ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='156' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.165ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1349ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=117 LIMIT 0,1

QUERY(0.562ms) - SELECT SQL_CACHE `leagues`.*,`sports`.`name` AS `sport_name`,`sports`.`icon` AS `sport_icon`,`sports`.`name_url` AS `sport_url`,`photo`.`img_url`,`photo`.`photo_id` AS `league_logo_id`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,(SELECT COUNT(*) FROM `league_teams` WHERE `league_id`=`leagues`.`league_id`) AS `teams` FROM `leagues` INNER JOIN `sports` ON (`leagues`.`sport_id` = `sports`.`sport_id`) LEFT JOIN `photo` ON (`leagues`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`leagues`.`venue_id` = `venues`.`venue_id`) WHERE `leagues`.`league_id` = '79' LIMIT 0,1

QUERY(0.154ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5271ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_url`,`photo`.`thumb_url`,`venues`.`name` AS `venue`,`venues`.`city`,`venues`.`state`,`league_dates`.`reg_date`,`league_dates`.`reg_end_date`,`league_dates`.`start_date`,`league_dates`.`end_date`,`league_dates`.`draft_date`,`league_dates`.`manual_date_display` FROM `league_seasons` LEFT JOIN `photo` ON (`league_seasons`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `venues` ON (`league_seasons`.`venue_id` = `venues`.`venue_id`) LEFT JOIN `league_dates` ON (`league_seasons`.`season_id` = `league_dates`.`season_id`) WHERE `league_seasons`.`league_id` = '79' and `league_seasons`.`season_id` = '117' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.181ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1471ms) - SELECT COUNT(order_id) FROM products_purchased WHERE season_id=117

QUERY(0.1161ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

QUERY(0.1531ms) - SELECT `photographers`,`payment_terms`,`payment_type`,`package_pricing`,`min_deposit`,`total_pay_required` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=117 LIMIT 0,1

QUERY(0.1891ms) - SELECT SQL_CACHE `allow_couples`,`disable_standings`,`type`,`groups`,`group_size`,`divisions`,`schedule_type`,`allow_alts`,`show_schedule_level` FROM `league_schedule_options` WHERE `league_id`=79 && `season_id`=117 LIMIT 0,1

QUERY(0.1981ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=117 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

QUERY(0.2689ms) - SELECT SQL_CACHE * FROM `league_schedule_options` WHERE `league_id`='79' && `season_id`='117' LIMIT 0,1

QUERY(0.1571ms) - SELECT SQL_CACHE count(`company_id`) FROM `league_company_links` WHERE `league_id`='79' && (`season_id`='117' || `season_id`=0)

QUERY(0.2031ms) - SELECT SQL_CACHE count(`update_id`) FROM `league_updates` WHERE `league_id`='79' && (`season_id`='117' || `season_id`=0)

QUERY(0.1559ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='117'

QUERY(2.5539ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='117' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.5381ms) - SELECT SQL_CACHE count(DISTINCT(`league_players`.`player_id`)) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='117' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.5921ms) - SELECT SQL_CACHE count(`league_players_id`) FROM `league_players` INNER JOIN `league_levels` ON `league_players`.`access`=`league_levels`.`level_id` WHERE `league_id`='79' && `season_id`='117' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

QUERY(0.246ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='117' ORDER BY `season_id` DESC

QUERY(0.2258ms) - SELECT SQL_CACHE count(`sponsor_id`) FROM `league_sponsors` WHERE `league_id`='79' && `season_id`='117'

QUERY(0.1619ms) - SELECT SQL_CACHE count(`product_id`) FROM `products` WHERE `season_id`='117'

QUERY(0.2801ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons` WHERE `league_id`='79'

QUERY(1.9159ms) - SELECT SQL_CACHE count(`season_id`) FROM `triumphs_awarded` WHERE `league_id`='79'

QUERY(0.165ms) - SELECT SQL_CACHE `group_id` FROM `league_groups` WHERE `league_id`=79&&`season_id`=117 LIMIT 0,1

QUERY(0.5901ms) - SELECT `game_id` FROM `games` WHERE `league_id`=79&&`season_id`=117&&`playoff`=1 LIMIT 0,1

QUERY(0.1721ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=117 LIMIT 0,1

QUERY(0.416ms) - SELECT SQL_CACHE `league_teams`.`team_id` FROM `league_teams` INNER JOIN `teams` ON `league_teams`.`team_id`=`teams`.`team_id` WHERE `league_teams`.`league_id`='79' && `league_teams`.`season_id`='117' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

QUERY(0.3979ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='117'

QUERY(0.242ms) - SELECT SQL_CACHE `leagues`.`max_players` AS `league_max`, `league_seasons`.`max_players` AS `season_max` FROM `leagues` INNER JOIN `league_seasons` ON `leagues`.`league_id`=`league_seasons`.`league_id` WHERE `leagues`.`league_id`='79' && `league_seasons`.`season_id`='117'

QUERY(0.2282ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=117 LIMIT 0,1

QUERY(0.128ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=117

QUERY(1.0989ms) - INSERT INTO `league_cache` (`league_id`,`season_id`,`articles`,`participants`,`conferences`,`players`,`coaches`,`subs`,`rules`,`teams`,`games`,`groups`,`divisions`,`seasons`,`sponsors`,`products`,`prizes`,`triumphs`,`hotels`,`is_full`,`companies`,`reg_is_open`,`updated`,`show_playoff_menu`) VALUES ('79','117','5',0,0,'113','10','11','9','8','79',0,0,'8',0,0,0,'159',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='117',`articles`='5',`participants`=0,`conferences`=0,`players`='113',`coaches`='10',`subs`='11',`rules`='9',`teams`='8',`games`='79',`groups`=0,`divisions`=0,`seasons`='8',`sponsors`=0,`products`=0,`prizes`=0,`triumphs`='159',`hotels`=0,`is_full`=0,`companies`=0,`reg_is_open`=0,`updated`=NOW(),`show_playoff_menu`='1'

QUERY(0.1888ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=117 LIMIT 0,1

QUERY(0.165ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='117'

QUERY(6.561ms) - SELECT SQL_CACHE `teams`.`url`,`teams`.`team_id`,`teams`.`fullname`,`teams`.`personal`,(SELECT `player_id` FROM `teams_players` WHERE `team_id`=`teams`.`team_id` && `access`=4 LIMIT 0,1) AS `coach_id`,(SELECT SUM(`s`.`wins`+`s`.`losses`+`s`.`ties`) as `gamesplayed` FROM `standings` AS `s` WHERE `s`.`team_id`=`standings`.`team_id`) AS `gamesplayed`,`standings`.`wins`,`standings`.`losses`,`standings`.`ties`,`standings`.`games_back`,`standings`.`points_for`,`standings`.`points_against`,`standings`.`streak`,`standings`.`forfeits`,`standings`.`forfeit_wins`,`users`.`user_url`,`users`.`username`,`photo`.`thumb_url`,`league_groups_teams`.`group_id` FROM `teams` LEFT JOIN `standings` ON (`teams`.`team_id` = `standings`.`team_id`) LEFT JOIN `users` ON (`teams`.`owner_id` = `users`.`id`) LEFT JOIN `photo` ON (`teams`.`logo_id` = `photo`.`photo_id`) LEFT JOIN `league_groups_teams` ON (`teams`.`team_id` = `league_groups_teams`.`team_id`) INNER JOIN league_teams ON (`league_teams`.`team_id`=`teams`.`team_id` && `league_teams`.`league_id`='79' && `league_teams`.`season_id`='117') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '117' ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

QUERY(0.1609ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1278ms) - SELECT SQL_CACHE * FROM teams_config

QUERY(0.3009ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='1'

QUERY(3.3569ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=1 ORDER BY `date` DESC

QUERY(0.1471ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2589ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='2'

QUERY(2.3921ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=2 ORDER BY `date` DESC

QUERY(0.1519ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

QUERY(0.2069ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='3'

QUERY(1.265ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=3 ORDER BY `date` DESC

QUERY(0.1619ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.186ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='4'

QUERY(0.8841ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=4 ORDER BY `date` DESC

QUERY(0.21ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1838ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='5'

QUERY(0.7131ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=5 ORDER BY `date` DESC

QUERY(0.149ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.1972ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='117' && `ranking`='6'

QUERY(0.536ms) - SELECT `fullname`,`teams`.`url`,`triumphs_awarded`.*,`photo`.`img_url` FROM `triumphs_awarded` LEFT JOIN `photo` ON `picture_id`=`photo_id` INNER JOIN `teams` ON `triumphs_awarded`.`team_id`=`teams`.`team_id` WHERE `triumphs_awarded`.`season_id`='117' && `finish_rank`=6 ORDER BY `date` DESC

QUERY(0.144ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

QUERY(0.2799ms) - SELECT SQL_CACHE `code`,`name` FROM `page_footers` WHERE (`domain`=1||domain_global=1) && (`include` LIKE '%:27:%' || (`global`=1 && `exclude` NOT LIKE '%:27:%') ) ORDER BY `sort` ASC