League

Gastonia Slowpitch

Sport: Softball
CoedSocialDraft
Event Director
League Joe
Venue
Auburn Softball Complex
Auburn, AL
Join League

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
PEAK MEMORY: 3.74 MiB
MEMORY USAGE AFTER: 2.46 MiB

Debug Information


Request Variables

var = league

varb = gastonia-slowpitch

varc = hall-of-fame

vara =

vard =

vare =

view_var = league

view_varb = gastonia-slowpitch

view_varc = hall-of-fame

view_vard =

view_vare =

view_varf =

view_varg =

Debug Messages

Site ID: 1

Sub Domain:

Domain: netstuffersdev1.com

Site name: LeagueJoe

Template: lj

SECURETOKEN: 811a92b8b78edf351204f233cdf20f1c

Login Type:

BASE:: league

FULL LINK:: league/gastonia-slowpitch/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 = 811a92b8b78edf351204f233cdf20f1c
fullstate =


Cookie Variables


Server Variables

USER = leaguejo_dev
HOME = /home/leaguejo_dev
SCRIPT_NAME = /index.php
REQUEST_URI = /league/gastonia-slowpitch/hall-of-fame/
QUERY_STRING = var=league&varb=gastonia-slowpitch&varc=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=hall-of-fame
REDIRECT_URL = /league/gastonia-slowpitch/hall-of-fame/
REMOTE_PORT = 43028
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.40.216
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/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/hall-of-fame/
SCRIPT_URL = /league/gastonia-slowpitch/hall-of-fame/
UNIQUE_ID = Zz9nhAfhIcys8cPa6k-KtQAAAAM
REDIRECT_STATUS = 200
REDIRECT_SSL_TLS_SNI = netstuffersdev1.com
REDIRECT_HTTPS = on
REDIRECT_SCRIPT_URI = https://netstuffersdev1.com/league/gastonia-slowpitch/hall-of-fame/
REDIRECT_SCRIPT_URL = /league/gastonia-slowpitch/hall-of-fame/
REDIRECT_UNIQUE_ID = Zz9nhAfhIcys8cPa6k-KtQAAAAM
FCGI_ROLE = RESPONDER
PHP_SELF = /index.php
REQUEST_TIME_FLOAT = 1732208516.264
REQUEST_TIME = 1732208516


SQL Queries


Total Queries: 308
Total Execution Time: 174.3578ms
Avg Execution Time:0.56609675324675ms

QUERY(1.5571ms) - 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-21', '17:01:56', 'GET', '/league/gastonia-slowpitch/hall-of-fame/', '3.144.40.216', 'https://netstuffersdev1.com/league/gastonia-slowpitch/hall-of-fame' ,'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', '', '','OXoxRVZMVjQ4WTB4djhqV3ZoeDVtblpoN1hrL0hkTEp1M0toVlNEamZheTNGQTBpVkJpUndac1F3akNmNVY2d2pGRUsybHJxS1dlM1JPNFJBUk90b1B4SWFYNEllaThDdHRVaHBFSnpraUY2aHkvN25RaEtOSEk5NHJXd2h4OUU=','0','','1732208516') ON DUPLICATE KEY UPDATE `ip`=`ip`

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

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

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

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

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

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

QUERY(0.1709ms) - SELECT * FROM userprofiles_config

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

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

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

QUERY(0.14ms) - SELECT SQL_CACHE * FROM league_config

QUERY(0.627ms) - 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.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.51ms) - 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` = 'hall-of-fame' ORDER BY `league_dates`.`start_date` ASC

QUERY(0.2909ms) - 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.1318ms) - SELECT `offset` FROM `zone` WHERE `zone_name`='UTC'

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

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

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

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

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

QUERY(0.1168ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.4821ms) - 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` = 'hall-of-fame' ORDER BY `league_dates`.`start_date` ASC

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

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

QUERY(0.113ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1221ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.1819ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.248ms) - SELECT `hall_of_fame` FROM `league_schedule_options` WHERE `league_id`=79 ORDER BY `hall_of_fame` DESC LIMIT 0,1

QUERY(2.2469ms) - 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 LIMIT 0,1

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

QUERY(0.129ms) - SELECT SQL_CACHE * FROM draft_config

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

QUERY(0.123ms) - SELECT SQL_CACHE * FROM league_config

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

QUERY(0.124ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(0.1481ms) - SELECT SQL_CACHE * FROM games_config

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

QUERY(0.1209ms) - SELECT SQL_CACHE * FROM triumphs_config

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

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

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

QUERY(0.6049ms) - 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`='') WHERE `teams`.`approved` = '1' and `teams`.`active` = '1' and `teams`.`personal` = '1' and `standings`.`league_id` = '79' and `standings`.`season_id` = NULL ORDER BY `standings`.`wins` desc,`standings`.`ties` desc,`standings`.`pts_diff` desc,`standings`.`points_for` desc,`standings`.`points_against` asc,`standings`.`forfeits` asc

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1531ms) - SELECT SQL_CACHE * FROM teams_config

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

QUERY(3.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`='249' && `finish_rank`=1 ORDER BY `date` DESC

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

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

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

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

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

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

QUERY(0.8671ms) - 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.1531ms) - 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`='249' && `ranking`='5'

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

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

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

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

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

QUERY(0.6309ms) - 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.1559ms) - 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 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`=247 LIMIT 0,1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.1199ms) - SELECT SQL_CACHE * FROM teams_config

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

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

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

QUERY(2.26ms) - 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.1581ms) - 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`='247' && `ranking`='3'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.2389ms) - 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.5399ms) - 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.545ms) - 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.7039ms) - 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.32ms) - SELECT SQL_CACHE count(`season_id`) FROM `league_seasons_rules` WHERE `league_id`='79' || `season_id`='203' ORDER BY `season_id` DESC

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.138ms) - SELECT SQL_CACHE * FROM teams_config

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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`='201' && `finish_rank`=5 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`=''

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

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

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

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

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

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

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

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

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

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

QUERY(0.1941ms) - SELECT SQL_CACHE * FROM teams_config

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.186ms) - SELECT SQL_CACHE * FROM teams_config

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

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

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

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

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

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

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

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

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

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

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

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

QUERY(0.2589ms) - 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