SOLD OUT

This event has reached capacity.

Join as Alternate
League

Gastonia Slowpitch

Season: Winter 2024 (Other Seasons)
Sport: Softball
CoedSocialDraft
Event Director
Venue
George Poston Park
Gastonia, NC
Day of the Week
WED

SOLD OUT

This event has reached capacity.

Join as Alternate
Join as Alternate

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 305
PEAK MEMORY: 3.79 MiB
MEMORY USAGE AFTER: 2.5 MiB

Debug Information


Request Variables

var = league

varb = gastonia-slowpitch

varc = winter-24-coed-wed

vard = hall-of-fame

vara =

vare =

view_var = league

view_varb = gastonia-slowpitch

view_varc = winter-24-coed-wed

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: 3658433e76c969c13e638f01874441e2

Login Type:

BASE:: league

FULL LINK:: league/gastonia-slowpitch/winter-24-coed-wed/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 = 3658433e76c969c13e638f01874441e2
fullstate =


Cookie Variables

handl_ip = 18.117.192.64
handl_url = https://futuresrecoveryhealthcare.com/team/stacey-losardo/feed
HandLtestDomainNameServer = HandLtestDomainValueServer
handl_landing_page = https://futuresrecoveryhealthcare.com/team/stacey-losardo/feed
handl_url_base = https://futuresrecoveryhealthcare.com/team/stacey-losardo/feed
user_agent = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/gastonia-slowpitch/winter-24-coed-wed/hall-of-fame/
QUERY_STRING = var=league&varb=gastonia-slowpitch&varc=winter-24-coed-wed&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=winter-24-coed-wed&vard=hall-of-fame
REDIRECT_URL = /league/gastonia-slowpitch/winter-24-coed-wed/hall-of-fame/
REMOTE_PORT = 58869
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 = 18.117.192.64
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/winter-24-coed-wed/hall-of-fame
HTTP_ACCEPT_ENCODING = gzip, br, zstd, deflate
HTTP_COOKIE = handl_ip=18.117.192.64; handl_url=https%3A%2F%2Ffuturesrecoveryhealthcare.com%2Fteam%2Fstacey-losardo%2Ffeed; HandLtestDomainNameServer=HandLtestDomainValueServer; handl_landing_page=https%3A%2F%2Ffuturesrecoveryhealthcare.com%2Fteam%2Fstacey-losardo%2Ffeed; handl_url_base=https%3A%2F%2Ffuturesrecoveryhealthcare.com%2Fteam%2Fstacey-losardo%2Ffeed; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29
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/winter-24-coed-wed/hall-of-fame/
SCRIPT_URL = /league/gastonia-slowpitch/winter-24-coed-wed/hall-of-fame/
UNIQUE_ID = Z0GNegtsY9fps9nI1JUxIAAAAZc
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/gastonia-slowpitch/winter-24-coed-wed/hall-of-fame/
REDIRECT_SCRIPT_URL = /league/gastonia-slowpitch/winter-24-coed-wed/hall-of-fame/
REDIRECT_UNIQUE_ID = Z0GNegtsY9fps9nI1JUxIAAAAZc
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732349306.3098
REQUEST_TIME = 1732349306


SQL Queries


Total Queries: 377
Total Execution Time: 194.5634ms
Avg Execution Time:0.51608328912467ms

QUERY(0.9429ms) - 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-11-23', '08:08:26', 'GET', '/league/gastonia-slowpitch/winter-24-coed-wed/hall-of-fame/', '18.117.192.64', 'https://netstuffersdev1.com/league/gastonia-slowpitch/winter-24-coed-wed/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZhd1NSZFhSemVQejQ0bjVqZEE5TlQ1bWpTSElqaXp0K0xDbzB4WEs1NEluSkdqV0x1SzVlZUphY1ZkRmJrZWtua0ZMTk1JQysyS0RnR25xWVZrYWZIRGQ=','0','','1732349306') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

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

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

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

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

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

QUERY(0.1421ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.5221ms) - 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`,`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.164ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.53ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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` = 'winter-24-coed-wed' ORDER BY `league_dates`.`start_date` ASC

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

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

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

QUERY(0.1929ms) - 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`=305 LIMIT 0,1

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

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

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

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

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

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

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

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

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

QUERY(0.1152ms) - SELECT SQL_CACHE * FROM league_config

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

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

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

QUERY(0.119ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.104ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1199ms) - SELECT SQL_CACHE * FROM teams_config

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

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

QUERY(0.37ms) - SELECT SQL_CACHE `standings_id` FROM `standings` WHERE `season_id`=305 LIMIT 0,1

QUERY(0.2241ms) - SELECT SQL_CACHE `standings_override` FROM `league_schedule_options` WHERE `season_id`=305 LIMIT 0,1

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

QUERY(0.103ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.1121ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1009ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.0999ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.1111ms) - SELECT SQL_CACHE * FROM triumphs_config

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

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

QUERY(5.724ms) - 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`='305') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '305' 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.1571ms) - SELECT SQL_CACHE `competition_type` FROM `league_seasons` WHERE `league_id`='79' && `season_id`='305'

QUERY(5.3129ms) - 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`='305') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '0' and `standings`.`league_id` = '79' and `standings`.`season_id` = '305' 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.1261ms) - SELECT `hof_page` FROM `league_custom_content` WHERE `league_id`=79 && `season_id`=305

QUERY(2.064ms) - 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.1168ms) - SELECT `league_id` FROM `league_seasons` WHERE `season_id`=249 LIMIT 0,1

QUERY(0.484ms) - 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`,`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.1378ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5131ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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.139ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

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

QUERY(0.144ms) - 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.1769ms) - 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.185ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=249 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(2.4109ms) - 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.4041ms) - 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_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.315ms) - 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.1991ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='249' ORDER BY `season_id` DESC

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

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

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

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

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

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

QUERY(0.107ms) - SELECT `season_id` FROM `league_custom_content` WHERE `prizes` IS NOT NULL&&`season_id`=249 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`='249' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

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

QUERY(0.1831ms) - 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.1218ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=249 LIMIT 0,1

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

QUERY(1.466ms) - 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.128ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=249 LIMIT 0,1

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

QUERY(5.398ms) - 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.1218ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.118ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.8551ms) - 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.14ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.1641ms) - 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.16ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.085ms) - 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.1462ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8471ms) - 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.1409ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6289ms) - 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.1478ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.524ms) - 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.1302ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4539ms) - 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`,`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.133ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.473ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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.149ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

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

QUERY(0.149ms) - 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.1569ms) - 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.1781ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=247 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

QUERY(0.1531ms) - 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.1452ms) - SELECT SQL_CACHE count(`conference_id`) FROM `league_conferences` WHERE (`league_id`=79 && `season_id`=0) || `season_id`='247'

QUERY(0.854ms) - 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.412ms) - 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_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(0.4771ms) - 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.1991ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='247' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

QUERY(0.3331ms) - 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.387ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='247'

QUERY(0.19ms) - 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.216ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=247 LIMIT 0,1

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

QUERY(1.0428ms) - 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.1352ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=247 LIMIT 0,1

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

QUERY(2.676ms) - 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.1411ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1109ms) - 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(2.773ms) - 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.2151ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.1341ms) - 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.149ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.1141ms) - 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.139ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8361ms) - 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.1309ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6311ms) - 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.133ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4449ms) - 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.134ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4721ms) - 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`,`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.133ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.479ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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.1431ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

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

QUERY(0.149ms) - 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.17ms) - 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.1872ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=203 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(2.4991ms) - 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`='203' &&`league_levels`.`score`>2 && `deleted`=0 && `alternate`=0

QUERY(0.3989ms) - 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`='203' &&`league_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.3279ms) - 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`='203' &&`league_levels`.`score`>2 && `quit`=0 && `alternate`=1

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

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

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

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

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

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

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

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

QUERY(0.3459ms) - 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`='203' && `teams`.`personal`=0 && `teams`.`deleted`=0 GROUP BY `league_teams`.`team_id`

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

QUERY(0.2639ms) - 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`='203'

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

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

QUERY(0.998ms) - 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','203','1',0,0,'95','8','10','9','8','64',0,0,'8',0,'10','1','159',0,0,0,0,NOW(),'1') ON DUPLICATE KEY UPDATE `league_id`='79',`season_id`='203',`articles`='1',`participants`=0,`conferences`=0,`players`='95',`coaches`='8',`subs`='10',`rules`='9',`teams`='8',`games`='64',`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`='1'

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

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

QUERY(6.0811ms) - 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.107ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.713ms) - 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.1419ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(4.025ms) - 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.145ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.0948ms) - 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.1471ms) - 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`='203' && `ranking`='4'

QUERY(0.8202ms) - 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.114ms) - 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`='203' && `ranking`='5'

QUERY(0.643ms) - 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.1202ms) - 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`='203' && `ranking`='6'

QUERY(0.5281ms) - 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.1299ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4599ms) - 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`,`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.1349ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5128ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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.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.108ms) - SELECT SQL_CACHE `zone_name` FROM `zone` WHERE `zone_id`=970 LIMIT 0,1

QUERY(0.201ms) - 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.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`=201 LIMIT 0,1

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

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

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

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

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

QUERY(0.596ms) - 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.371ms) - 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_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.326ms) - 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.232ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='201' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

QUERY(0.3321ms) - 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.334ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='201'

QUERY(0.2532ms) - 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.133ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=201 LIMIT 0,1

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

QUERY(0.9739ms) - 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.1309ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=201 LIMIT 0,1

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

QUERY(3.381ms) - 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.15ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1101ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.701ms) - 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.1469ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.197ms) - 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.154ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.0731ms) - 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.133ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.699ms) - 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.14ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.6139ms) - 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.144ms) - 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`='201' && `ranking`='6'

QUERY(0.495ms) - 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.191ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.4861ms) - 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`,`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.1349ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.5069ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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.14ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

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

QUERY(0.1411ms) - 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.1729ms) - 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.1929ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=156 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(2.6541ms) - 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.4089ms) - 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_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(2.4152ms) - 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.2182ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='156' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

QUERY(0.371ms) - 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.401ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='156'

QUERY(0.2491ms) - 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.1161ms) - SELECT allow_hotelpage FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=156

QUERY(1.0929ms) - 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.1709ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=156 LIMIT 0,1

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

QUERY(5.554ms) - 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.1309ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.14ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.015ms) - 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.2038ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.187ms) - 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.149ms) - 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`='156' && `ranking`='3'

QUERY(1.133ms) - 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.1309ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.8521ms) - 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.1779ms) - SELECT `accomplishment_id` FROM `league_results` WHERE `league_id`='79' && `season_id`='156' && `ranking`='5'

QUERY(0.632ms) - 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.118ms) - 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`='6'

QUERY(0.51ms) - 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.1729ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.478ms) - 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`,`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.1411ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.515ms) - SELECT SQL_CACHE `league_seasons`.*,`league_seasons`.`url` AS season_url,`photo`.`img_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.1411ms) - SELECT SQL_CACHE `name`,`img_url` FROM `sports` INNER JOIN `photo` ON `sports`.`logo_id`=`photo`.`photo_id` WHERE `sport_id`=1

QUERY(0.1101ms) - 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`=117 LIMIT 0,1

QUERY(0.16ms) - 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.1829ms) - SELECT SQL_CACHE * FROM `league_cache` WHERE `league_id`=79 && `season_id`=117 && `updated`>=(NOW() - INTERVAL 30 MINUTE)

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

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

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

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

QUERY(2.625ms) - 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.375ms) - 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_players`.`access`=4 && `deleted`=0 && `alternate`=0

QUERY(1.8599ms) - 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.2189ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='117' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

QUERY(0.35ms) - 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.385ms) - SELECT SQL_CACHE count(`game_id`) FROM `games` WHERE `league_id`='79' && `season_id`='117'

QUERY(0.1919ms) - 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.123ms) - SELECT `allow_hotelpage` FROM `league_hotel_settings` WHERE `league_id`=79 && `season_id`=117 LIMIT 0,1

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

QUERY(1.0409ms) - 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.176ms) - SELECT SQL_CACHE `enabled` FROM `league_merch` WHERE `season_id`=117 LIMIT 0,1

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

QUERY(6.0291ms) - 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.1318ms) - SELECT COUNT(*),version FROM modules WHERE `codename`='teams'

QUERY(0.1202ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(2.878ms) - 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.15ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(2.1532ms) - 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.1569ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`='1'

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

QUERY(1.0991ms) - 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.1559ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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

QUERY(0.813ms) - 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.134ms) - 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`='117' && `ranking`='5'

QUERY(0.6099ms) - 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.1421ms) - 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`='117' && `ranking`='6'

QUERY(0.5231ms) - 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.149ms) - SELECT `img_url`,`name` FROM `sports` INNER JOIN `photo` ON `photo`.`photo_id`=`logo_id` WHERE `sports`.`sport_id`=''

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